Update Dockerfile

This commit is contained in:
Alexandre
2023-05-21 09:58:14 +02:00
committed by GitHub
parent a2beb09070
commit e6665fa255

View File

@@ -14,14 +14,12 @@
# 1 Build Image #
#################
FROM portainer/agent:alpine as agent
FROM portainer/agent:alpine as original_agent
ENV PORTAINER_AGENT_ARGS=""
ARG BUILD_FROM
FROM ${BUILD_FROM}
ENV PORTAINER_AGENT_ARGS=""
ENV FIRST_HEALTHCHECK_TIMEOUT=20
# Copy Portainer agent binaries
COPY --from=agent / /