| 1 |
FROM registry.fedoraproject.org/fedora:30 |
| 2 |
|
| 3 |
ENV NAME=fedora-toolbox VERSION=30 |
| 4 |
LABEL com.github.containers.toolbox="true" \ |
| 5 |
com.redhat.component="$NAME" \ |
| 6 |
name="$FGC/$NAME" \ |
| 7 |
version="$VERSION" \ |
| 8 |
usage="This image is meant to be used with the toolbox command" \ |
| 9 |
summary="Base image for creating Fedora toolbox containers" \ |
| 10 |
maintainer="Debarshi Ray <[email protected]>" |
| 11 |
|
| 12 |
COPY README.md / |
| 13 |
|
| 14 |
RUN sed -i '/tsflags=nodocs/d' /etc/dnf/dnf.conf |
| 15 |
RUN dnf -y swap coreutils-single coreutils-full |
| 16 |
|
| 17 |
COPY missing-docs / |
| 18 |
RUN dnf -y reinstall $(<missing-docs) |
| 19 |
RUN rm /missing-docs |
| 20 |
|
| 21 |
COPY extra-packages / |
| 22 |
RUN dnf -y install $(<extra-packages) |
| 23 |
RUN rm /extra-packages |
| 24 |
|
| 25 |
RUN dnf clean all |
| 26 |
|
| 27 |
CMD /bin/sh |