From 543b1f369576430b76f0aa7d44c4fe6f7e9785b4 Mon Sep 17 00:00:00 2001 From: Johannes Stoelp Date: Fri, 30 Dec 2022 15:01:12 +0100 Subject: git: add zola runner to automatically build & depoly the blog --- roles/git/files/runner-zola/Dockerfile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 roles/git/files/runner-zola/Dockerfile (limited to 'roles/git/files/runner-zola/Dockerfile') diff --git a/roles/git/files/runner-zola/Dockerfile b/roles/git/files/runner-zola/Dockerfile new file mode 100644 index 0000000..be1eb6e --- /dev/null +++ b/roles/git/files/runner-zola/Dockerfile @@ -0,0 +1,11 @@ +FROM alpine:latest + +RUN apk add --update-cache --upgrade --no-cache --purge \ + zola git \ + && rm -rf /var/cache/apk + +EXPOSE 80 +WORKDIR /tmp + +COPY webhook.sh / +ENTRYPOINT ["/webhook.sh"] -- cgit v1.2.3