Ver código fonte

bugfix: Remove microdnf cache

jamesread 3 anos atrás
pai
commit
5424aff946
1 arquivos alterados com 3 adições e 3 exclusões
  1. 3 3
      Dockerfile

+ 3 - 3
Dockerfile

@@ -1,12 +1,12 @@
 FROM --platform=linux/amd64 registry.fedoraproject.org/fedora-minimal:36-x86_64
 
 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 \
 		openssh-clients \
 		shadow-utils \
-		docker 
+		docker \
+	&& microdnf clean all
 
 RUN useradd --system --create-home olivetin -u 1000