From 7de70a2066f7a70289b081f5e321ec417aa06a63 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 30 Dec 2025 12:31:45 +0100 Subject: [PATCH] Update Dockerfile --- portainer_agent/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/portainer_agent/Dockerfile b/portainer_agent/Dockerfile index a94d610b5..82606c047 100644 --- a/portainer_agent/Dockerfile +++ b/portainer_agent/Dockerfile @@ -22,7 +22,7 @@ RUN rm -rf /usr/lib/bashio /usr/bin/bashio && \ rm -rf /tmp/bashio /tmp/bashio.tar.gz # Step 2: Get agent from official image -COPY --from=ghcr.io/portainerci/agent:latest /app /app +COPY --from=FROM portainer/agent:alpine /app /app # Step 3: Add tzdata and timezone support RUN apk add --no-cache tzdata @@ -35,7 +35,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ S6_SERVICES_GRACETIME=0 # Step 5: Copy rootfs from official image -COPY --from=ghcr.io/portainerci/agent:latest / / +COPY --from=FROM portainer/agent:alpine / / # Step 6: Override the run script with simplified protection mode check RUN mkdir -p /etc/services.d/portainer_agent