瀏覽代碼

bugfix: Remove microdnf cache

jamesread 4 年之前
父節點
當前提交
5424aff946
共有 1 個文件被更改,包括 3 次插入 和 3 次删除
  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