From dc0fb25238335411b63f5880e2859d35b5e027c9 Mon Sep 17 00:00:00 2001
From: paspo <paolo@asperti.com>
Date: Wed, 2 Apr 2025 12:58:14 +0200
Subject: [PATCH] forced alpine without apk cache

---
 Dockerfile       | 4 ++--
 Dockerfile-php74 | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index a354d4c..74c1c47 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,8 +1,8 @@
 FROM alpine:3.21
 
 RUN \
-  apk -U upgrade && \
-  apk add tini nginx openssh-server nginx-mod-http-dav-ext \
+  apk --no-cache upgrade && \
+  apk --no-cache add tini nginx openssh-server nginx-mod-http-dav-ext \
     php84 php84-fpm php84-mbstring php84-curl php84-ctype php84-dom php84-gd php84-json php84-openssl php84-session php84-simplexml php84-xml php84-zip \
     php84-apcu php84-opcache php84-pecl-yaml php84-sqlite3 php84-mysqli \
     php83 php83-fpm php83-mbstring php83-curl php83-ctype php83-dom php83-gd php83-json php83-openssl php83-session php83-simplexml php83-xml php83-zip \
diff --git a/Dockerfile-php74 b/Dockerfile-php74
index 629dafc..dbd8f38 100644
--- a/Dockerfile-php74
+++ b/Dockerfile-php74
@@ -1,8 +1,8 @@
 FROM alpine:3.15
 
 RUN \
-  apk -U upgrade && \
-  apk add tini nginx openssh-server nginx-mod-http-dav-ext \
+  apk --no-cache upgrade && \
+  apk --no-cache add tini nginx openssh-server nginx-mod-http-dav-ext \
     php7 php7-fpm php7-mbstring php7-curl php7-ctype php7-dom php7-gd php7-json php7-openssl php7-session php7-simplexml php7-xml php7-zip \
     php7-apcu php7-opcache php7-pecl-yaml php7-sqlite3 php7-mysqli