From 08ee7e13988ed012ca301516d8535a875f5ea94f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20D=C3=B6rsch?= <656249+Flow86@users.noreply.github.com> Date: Fri, 16 Aug 2024 09:37:34 +0200 Subject: [PATCH] fix: do not always add service-run as argument to the entrypoint This allows the correct usage of `docker run -it paessler/multi-platform-probe example-config` --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 45edbc7..1278e99 100644 --- a/Dockerfile +++ b/Dockerfile @@ -57,4 +57,5 @@ VOLUME [ "/config", "/opt/paessler/share/scripts" ] # set WORKDIR to a sane default WORKDIR / -ENTRYPOINT [ "/run-prtgmpprobe.sh", "service-run" ] +ENTRYPOINT [ "/run-prtgmpprobe.sh" ] +CMD [ "service-run" ] \ No newline at end of file