webhook (latest)
Published 2024-12-19 11:05:39 +01:00 by holzi1005
Installation
docker pull git.h2-invent.com/public-system-design/webhook:latest
sha256:12f2cd22c8d545a51c1bf3ee5bc9ab7255ffaeee5f94ccbfec5b4355dfbfba22
Image layers
ADD alpine-minirootfs-3.20.3-x86_64.tar.gz / # buildkit |
CMD ["/bin/sh"] |
ARG VERSION |
LABEL version=2.8.2 Maintainer=H2 invent GmbH Description=Webhook Server org.opencontainers.version=2.8.2 org.opencontainers.image.title=Webhook Server org.opencontainers.image.vendor=H2 invent GmbH org.opencontainers.image.authors=Andreas Holzmann <support@h2-invent.com> org.opencontainers.image.documentation=https://h2-invent.com org.opencontainers.image.url=https://h2-invent.com |
RUN |1 VERSION=2.8.2 /bin/sh -c apk --no-cache add git curl jq && rm -rf /var/cache/apk/* # buildkit |
RUN |1 VERSION=2.8.2 /bin/sh -c addgroup -S webhook && adduser -S webhook -G webhook # buildkit |
WORKDIR /opt/webhook |
RUN |1 VERSION=2.8.2 /bin/sh -c 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 && rm artifact.tar.gz # buildkit |
RUN |1 VERSION=2.8.2 /bin/sh -c echo "- id: whoami-webhook" > hooks.yaml && echo " execute-command: 'whoami'" >> hooks.yaml # buildkit |
USER webhook |
EXPOSE map[9000/tcp:{}] |
HEALTHCHECK &{["CMD-SHELL" "curl --silent --fail http://127.0.0.1:9000/ || exit 1"] "0s" "4s" "0s" '\x00'} |
CMD ["./webhook" "-hooks" "hooks.yaml" "-verbose"] |
Labels
Key | Value |
---|---|
Description | Webhook Server |
Maintainer | H2 invent GmbH |
org.opencontainers.image.authors | Andreas Holzmann <support@h2-invent.com> |
org.opencontainers.image.documentation | https://h2-invent.com |
org.opencontainers.image.title | Webhook Server |
org.opencontainers.image.url | https://h2-invent.com |
org.opencontainers.image.vendor | H2 invent GmbH |
org.opencontainers.version | 2.8.2 |
version | 2.8.2 |
Details
2024-12-19 11:05:39 +01:00
Versions (2)
View all
Container
0
OCI / Docker
linux/amd64
Andreas Holzmann <support@h2-invent.com>
16 MiB