-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDockerfile
More file actions
28 lines (20 loc) · 862 Bytes
/
Dockerfile
File metadata and controls
28 lines (20 loc) · 862 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
ARG ImageVersion
FROM rockylinux/rockylinux:$ImageVersion
LABEL com.github.containers.toolbox="true" \
usage="This image is meant to be used with the toolbox command" \
org.opencontainers.image.authors="Magauer Lukas <lukas@magauer.eu>" \
org.opencontainers.image.description="Base image for creating Rocky Linux toolbox containers" \
org.opencontainers.image.licenses="BSD-3-Clause" \
org.opencontainers.image.url="https://github.com/rocky-linux/rocky-toolbox-images" \
org.opencontainers.image.vendor="Rocky Enterprise Software Foundation"
COPY README.md /
RUN sed -i '/tsflags=nodocs/d' /etc/dnf/dnf.conf
RUN dnf -y update
COPY missing-docs /
RUN dnf -y reinstall $(<missing-docs)
RUN rm /missing-docs
COPY extra-packages /
RUN dnf -y install $(<extra-packages)
RUN rm /extra-packages
RUN dnf clean all
CMD /bin/sh