From 3432e1aba6cbefc3d78fd5545b2ac278430abaf0 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 2 Dec 2021 21:39:54 +0100 Subject: [PATCH] Update Dockerfile --- portainer/Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/portainer/Dockerfile b/portainer/Dockerfile index 1f8130c6a..63e897df5 100644 --- a/portainer/Dockerfile +++ b/portainer/Dockerfile @@ -7,9 +7,6 @@ ARG BUILD_UPSTREAM="2.9.3" SHELL ["/bin/bash", "-o", "pipefail", "-c"] # Setup base -RUN \ - apk add --no-cache \ - nginx || true ARG BUILD_ARCH RUN \ @@ -22,6 +19,10 @@ RUN \ "https://github.com/portainer/portainer/releases/download/${BUILD_UPSTREAM}/portainer-${BUILD_UPSTREAM}-linux-${ARCH}.tar.gz" \ | tar zxvf - -C /opt/ +RUN \ + apk add --no-cache \ + nginx || true + # Copy root filesystem COPY rootfs /