Forráskód Böngészése

bugfix: Remove microdnf cache

jamesread 3 éve
szülő
commit
5424aff946
1 módosított fájl, 3 hozzáadás és 3 törlés
  1. 3 3
      Dockerfile

+ 3 - 3
Dockerfile

@@ -1,12 +1,12 @@
 FROM --platform=linux/amd64 registry.fedoraproject.org/fedora-minimal:36-x86_64
 FROM --platform=linux/amd64 registry.fedoraproject.org/fedora-minimal:36-x86_64
 
 
 RUN mkdir -p /config /var/www/olivetin \
 RUN mkdir -p /config /var/www/olivetin \
-    && \
-    microdnf install -y --nodocs --noplugins --setopt=keepcache=0 --setopt=install_weak_deps=0 \ 
+    && microdnf install -y --nodocs --noplugins --setopt=keepcache=0 --setopt=install_weak_deps=0 \ 
 		iputils \
 		iputils \
 		openssh-clients \
 		openssh-clients \
 		shadow-utils \
 		shadow-utils \
-		docker 
+		docker \
+	&& microdnf clean all
 
 
 RUN useradd --system --create-home olivetin -u 1000 
 RUN useradd --system --create-home olivetin -u 1000