From 4434854232abac3959a02b8f4ab3ebd337df3f07 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 30 Dec 2025 13:23:45 +0100 Subject: [PATCH] Change ENTRYPOINT to use /usr/bin/env --- portainer_agent/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/portainer_agent/Dockerfile b/portainer_agent/Dockerfile index a4dc8a829..4ce87a7c6 100644 --- a/portainer_agent/Dockerfile +++ b/portainer_agent/Dockerfile @@ -82,7 +82,9 @@ RUN chmod 777 /ha_entrypoint.sh /ha_entrypoint_modif.sh && /ha_entrypoint_modif. RUN chmod a+x /usr/sbin/healthcheck && \ chmod a+x /usr/sbin/wait-for-signal WORKDIR "/app" -ENTRYPOINT [ "/ha_entrypoint.sh" ] + +ENTRYPOINT [ "/usr/bin/env" ] +CMD [ "/ha_entrypoint.sh" ] ############ # 5 Labels #