programm-webhook/webhooks-git/Dockerfile

12 lines
459 B
Docker

FROM almir/webhook:latest as build
FROM alpine:latest
RUN apk --no-cache add git openssh-client bash nano gettext
COPY --from=build /usr/local/bin/webhook /usr/local/bin/webhook
COPY hooks.json.tmpl /etc/webhook/hooks.json.tmpl
COPY entrypoint.sh /etc/webhook/entrypoint.sh
RUN chmod +x /etc/webhook/entrypoint.sh
WORKDIR /etc/webhook
EXPOSE 9000
ENTRYPOINT ["/etc/webhook/entrypoint.sh"]
CMD [""]