toolbox/Dockerfile

23 lines
623 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" \
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 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