Update Dockerfile

This commit is contained in:
Alexandre
2021-12-02 21:39:54 +01:00
committed by GitHub
parent c36e7303fb
commit 3432e1aba6

View File

@@ -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 /