diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..3189122 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,44 @@ +FROM registry.fedoraproject.org/fedora:36 + +ARG NAME=fedora-toolbox +ARG VERSION=36 +LABEL com.github.containers.toolbox="true" \ + com.redhat.component="$NAME" \ + name="$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 " + +COPY README.md / + +RUN rm /etc/rpm/macros.image-language-conf +RUN sed -i '/tsflags=nodocs/d' /etc/dnf/dnf.conf + +RUN dnf -y upgrade +RUN dnf -y swap coreutils-single coreutils-full +RUN dnf -y swap glibc-minimal-langpack glibc-all-langpacks + +COPY missing-docs / +RUN dnf -y reinstall $(/dev/null; then \ + echo "$file: No such file or directory" >&2; \ + ret_val=1; \ + break; \ + fi; \ + done