FROM almir/webhook:latest

USER root
RUN apk add --no-cache git bash gettext-envsubst
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh

USER webhook
ENTRYPOINT ["/entrypoint.sh"]
