diff options
author | Matthew Heon <matthew.heon@pm.me> | 2019-03-10 14:25:13 -0400 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2019-03-10 14:25:13 -0400 |
commit | 54fd1a7bb962fbce828dd2fb2295518e3c706d8f (patch) | |
tree | 69c634978e14f258a1cb78fbb1167c3d19e6b552 /vendor/github.com/openshift/imagebuilder | |
parent | eb3dd9415905b0b66dd8ce30cb6be21939fb4454 (diff) | |
download | podman-54fd1a7bb962fbce828dd2fb2295518e3c706d8f.tar.gz podman-54fd1a7bb962fbce828dd2fb2295518e3c706d8f.tar.bz2 podman-54fd1a7bb962fbce828dd2fb2295518e3c706d8f.zip |
Fix generation of infra container command
When sourcing from an image, we need to grab its entrypoint first
and then add command on to mimic the behavior of Docker.
The default Kube pause image just sets ENTRYPOINT, and not CMD,
so nothing changes there, but this ought to fix other images
(for example, nginx would try to run the pause command instead of
an nginx process without this patch)
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'vendor/github.com/openshift/imagebuilder')
0 files changed, 0 insertions, 0 deletions