From c0be0b07bd2e2731f64681867061a24860d0f823 Mon Sep 17 00:00:00 2001 From: Laurent Laville Date: Tue, 23 Nov 2021 07:04:11 +0100 Subject: [PATCH] fix issue #106 --- Dockerfile | 1 + entrypoint.sh | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f552465d..a0f34602 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,4 +9,5 @@ COPY entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh RUN cp /usr/local/etc/php/php.ini-development /usr/local/etc/php/php.ini +WORKDIR /workdir ENTRYPOINT ["/entrypoint.sh"] diff --git a/entrypoint.sh b/entrypoint.sh index 978674bc..3af021ca 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,5 +1,5 @@ #!/bin/sh -l -set -xe +set -e -/root/.composer/vendor/bin/phplint ${INPUT_PATH} ${INPUT_OPTIONS} +exec /root/.composer/vendor/bin/phplint "$@"