🧱 Optimize image size
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
zhbaor 2023-01-09 08:59:57 +08:00
parent 79e9b608de
commit 9f95e6ba6e

View file

@ -1,6 +1,7 @@
FROM almalinux:9 FROM almalinux:9
RUN dnf -y install dnf-plugin-config-manager RUN dnf -y install dnf-plugin-config-manager \
RUN dnf config-manager --set-enabled crb && dnf config-manager --set-enabled crb \
RUN dnf -y install epel-release && dnf -y install epel-release \
RUN dnf -y install nodejs git-tools pandoc && dnf -y install nodejs git-tools pandoc \
&& dnf clean all
WORKDIR /data WORKDIR /data