From ab984c6fdb03634ffd532ae23d277bd760d9b72d Mon Sep 17 00:00:00 2001 From: holzi1005 Date: Wed, 18 Dec 2024 17:45:30 +0100 Subject: [PATCH] fix permission --- webhook_application_dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/webhook_application_dockerfile b/webhook_application_dockerfile index 4342d2d..fd65d9b 100644 --- a/webhook_application_dockerfile +++ b/webhook_application_dockerfile @@ -25,7 +25,8 @@ WORKDIR /opt/webhook RUN wget https://github.com/adnanh/webhook/releases/download/${VERSION}/webhook-linux-amd64.tar.gz -O artifact.tar.gz \ && tar --strip-components=1 -xvzf artifact.tar.gz \ - && ls -ls + && ls -ls \ + && rm artifact.tar.gz RUN echo "- id: whoami-webhook" > hooks.yaml \ && echo " execute-command: 'whoami'" >> hooks.yaml @@ -34,4 +35,4 @@ EXPOSE 9000 USER webhook -ENTRYPOINT ['/opt/webhook/webhook-linux-amd64/webhook', '-hooks', 'hooks.yaml', '-verbose' ] +ENTRYPOINT ['/opt/webhook/webhook', '-hooks', 'hooks.yaml', '-verbose' ]