Dockerfile: Specify a CMD
... as mandated by the Fedora Container Guidelines:
https://fedoraproject.org/wiki/Container:Guidelines#CMD_.2F_ENTRYPOINT
The same entrypoint is also specified in 'create' because since
podman-0.9.1 'podman create ...' doesn't work without a command. See
commit fd697274a3
.
This commit is contained in:
parent
419bb1edeb
commit
5cc2678a36
1 changed files with 2 additions and 0 deletions
|
@ -17,3 +17,5 @@ RUN packages=; while read -r package; do packages="$packages $package"; done \
|
|||
<extra-packages; \
|
||||
dnf -y install $packages
|
||||
RUN rm /extra-packages
|
||||
|
||||
CMD /bin/sh
|
||||
|
|
Loading…
Reference in a new issue