diff options
author | Matthew Heon <matthew.heon@pm.me> | 2020-04-27 11:46:28 -0400 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2020-04-27 13:13:21 -0400 |
commit | 67ec4e1d272d20610f885f91cc322edf57a13f45 (patch) | |
tree | 0e6ea7cd1546791cc85ac6c33947a60076d05c6b /libpod/common_test.go | |
parent | 02671a103f7991a3c472f90d343a5979f3d3636a (diff) | |
download | podman-67ec4e1d272d20610f885f91cc322edf57a13f45.tar.gz podman-67ec4e1d272d20610f885f91cc322edf57a13f45.tar.bz2 podman-67ec4e1d272d20610f885f91cc322edf57a13f45.zip |
Improve Entrypoint and Command support
We should not be overwriting the Specgen's Command and Entrypoint
when building the final command to pass in the OCI spec. Both of
these will be provided to Libpod for use in `podman inspect` and
committing containers, and both must be set to the user's input,
not overwritten by the image if unset.
Fix this by moving command generation into OCI spec generation
and not modifying the SpecGenerator when we do so.
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'libpod/common_test.go')
0 files changed, 0 insertions, 0 deletions