build-tools: image update script corrupts docker entrypoint commands
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
New
|
Undecided
|
Unassigned |
Bug Description
Brief Description
-----------------
The script sometimes corrupts ENTRYPOINT and CMD entries in the images being updated. The logic that parses these entries in "docker image inspect" output seems incorrect: https:/
Observed with starlingx/rvmc image. Original image had:
],
But after modification it becomes
],
A similar problem exists with "CMD" .
Severity
--------
Major
Steps to Reproduce
------------------
See above
Expected Behavior
------------------
See above
Actual Behavior
----------------
See above
Reproducibility
---------------
Reproducible
System Configuration
-------
N/A
Branch/Pull Time/Commit
-------
master/2023-10-04
Last Pass
---------
None
Timestamp/Logs
--------------
N/A
Test Activity
-------------
N/A
Workaround
----------
Correct entrypoint manually using "docker run/docker commit"