From 65337a89b86a74ed7a33c033c57f6340b50e999f Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sun, 21 May 2023 10:20:47 +0200 Subject: [PATCH] Update Dockerfile --- portainer_agent/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/portainer_agent/Dockerfile b/portainer_agent/Dockerfile index a64a2ab7d..16875cf31 100644 --- a/portainer_agent/Dockerfile +++ b/portainer_agent/Dockerfile @@ -15,9 +15,10 @@ ################# ARG BUILD_FROM -FROM $BUILD_FROM +ENV BUILD_BASE="$BUILD_FROM" FROM portainer/agent:alpine as original_agent ENV PORTAINER_AGENT_ARGS="" +FROM "$BUILD_BASE" # Copy Portainer agent binaries COPY --from=original_agent /app /app