From aa07c3d229e35e547876ffee27aef028ebe366be Mon Sep 17 00:00:00 2001 From: Alexis Bruneteau Date: Thu, 5 Jun 2025 04:55:28 +0200 Subject: [PATCH] tag --- Dockerfile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 42a02d8..5e74232 100644 --- a/Dockerfile +++ b/Dockerfile @@ -40,8 +40,6 @@ RUN apk add --no-cache \ curl \ git \ openssh \ - python3 \ - py3-pip \ php-pear \ gcc g++ make autoconf libtool linux-headers @@ -52,11 +50,10 @@ RUN docker-php-ext-configure gd --with-freetype --with-jpeg && \ docker-php-ext-enable redis # Clean up build tools -RUN apk del gcc g++ make autoconf php-dev libtool +RUN apk del gcc g++ make autoconf libtool # Install Ansible -RUN pip install --no-cache-dir ansible - +RUN apk add --no-cache ansible # Copy built app from previous stage COPY --from=build /app /var/www