toolbox/images/fedora/f28/Dockerfile

27 lines
678 B
Text
Raw Normal View History

FROM registry.fedoraproject.org/fedora:28
2018-08-31 16:02:49 +00:00
ENV NAME=fedora-toolbox VERSION=28
LABEL com.redhat.component="$NAME" \
name="$FGC/$NAME" \
version="$VERSION" \
usage="This image is meant to be used with the toolbox command" \
summary="Base image for creating Fedora toolbox containers" \
maintainer="Debarshi Ray <rishi@fedoraproject.org>"
2018-08-31 16:02:49 +00:00
COPY README.md /
2018-08-31 16:02:49 +00:00
RUN sed -i '/tsflags=nodocs/d' /etc/dnf/dnf.conf
RUN dnf -y swap coreutils-single coreutils-full
COPY missing-docs /
RUN dnf -y reinstall $(<missing-docs)
RUN rm /missing-docs
2018-08-31 16:02:49 +00:00
COPY extra-packages /
RUN dnf -y install $(<extra-packages)
2018-08-31 16:02:49 +00:00
RUN rm /extra-packages
RUN dnf clean all
CMD /bin/sh