2018-09-24 15:08:44 +00:00
|
|
|
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" \
|
2019-02-15 15:36:30 +00:00
|
|
|
usage="This image is meant to be used with the toolbox command" \
|
2018-09-18 14:06:55 +00:00
|
|
|
summary="Base image for creating Fedora toolbox containers" \
|
|
|
|
maintainer="Debarshi Ray <rishi@fedoraproject.org>"
|
2018-08-31 16:02:49 +00:00
|
|
|
|
2018-09-14 09:46:38 +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
|
|
|
|
|
2019-02-18 09:15:12 +00:00
|
|
|
COPY missing-docs /
|
|
|
|
RUN dnf -y reinstall $(<missing-docs)
|
|
|
|
RUN rm /missing-docs
|
|
|
|
|
2018-08-31 16:02:49 +00:00
|
|
|
COPY extra-packages /
|
2018-09-26 10:07:13 +00:00
|
|
|
RUN dnf -y install $(<extra-packages)
|
2018-08-31 16:02:49 +00:00
|
|
|
RUN rm /extra-packages
|
2018-09-14 14:38:59 +00:00
|
|
|
|
2019-03-21 16:39:19 +00:00
|
|
|
RUN dnf clean all
|
|
|
|
|
2018-09-14 14:38:59 +00:00
|
|
|
CMD /bin/sh
|