update
This commit is contained in:
parent
37c44910d6
commit
19de333601
1 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@ WORKDIR /opt/webhook
|
||||||
RUN wget https://github.com/adnanh/webhook/releases/download/${VERSION}/webhook-linux-amd64.tar.gz -O artifact.tar.gz \
|
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 \
|
&& tar --strip-components=1 -xvzf artifact.tar.gz \
|
||||||
&& ls -ls \
|
&& ls -ls \
|
||||||
&& chmod +x webhook \
|
&& chmod +x webhook-linux-amd64/webhook \
|
||||||
rm artifact.tar.gz
|
rm artifact.tar.gz
|
||||||
|
|
||||||
RUN echo "- id: whoami-webhook" > hooks.yaml \
|
RUN echo "- id: whoami-webhook" > hooks.yaml \
|
||||||
|
@ -36,4 +36,4 @@ EXPOSE 9000
|
||||||
|
|
||||||
USER webhook
|
USER webhook
|
||||||
|
|
||||||
ENTRYPOINT ['/opt/webhook/webhook', '-hooks', 'hooks.yaml', '-verbose' ]
|
ENTRYPOINT ['/opt/webhook/webhook-linux-amd64/webhook', '-hooks', 'hooks.yaml', '-verbose' ]
|
||||||
|
|
Loading…
Reference in a new issue