5cc2678a36
... 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
.
21 lines
572 B
Docker
21 lines
572 B
Docker
FROM docker://registry.fedoraproject.org/fedora:28
|
|
|
|
ENV NAME=fedora-toolbox VERSION=28
|
|
LABEL com.redhat.component="$NAME" \
|
|
name="$FGC/$NAME" \
|
|
version="$VERSION" \
|
|
summary="Base image for creating Fedora toolbox containers"
|
|
|
|
COPY README.md /
|
|
|
|
RUN sed -i '/tsflags=nodocs/d' /etc/dnf/dnf.conf
|
|
RUN dnf -y upgrade
|
|
RUN dnf -y swap coreutils-single coreutils-full
|
|
|
|
COPY extra-packages /
|
|
RUN packages=; while read -r package; do packages="$packages $package"; done \
|
|
<extra-packages; \
|
|
dnf -y install $packages
|
|
RUN rm /extra-packages
|
|
|
|
CMD /bin/sh
|