aboutsummaryrefslogtreecommitdiff
path: root/docker/crupest-blog/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'docker/crupest-blog/Dockerfile')
-rw-r--r--docker/crupest-blog/Dockerfile8
1 files changed, 3 insertions, 5 deletions
diff --git a/docker/crupest-blog/Dockerfile b/docker/crupest-blog/Dockerfile
index 762a887..d8ff684 100644
--- a/docker/crupest-blog/Dockerfile
+++ b/docker/crupest-blog/Dockerfile
@@ -1,10 +1,8 @@
-FROM klakegg/hugo:ext-alpine-ci
-# install git
+FROM alpine:latest
ARG CRUPEST_BLOG_UPDATE_INTERVAL=1d
-RUN apk add --no-cache coreutils tini bash git
ENV CRUPEST_BLOG_UPDATE_INTERVAL=${CRUPEST_BLOG_UPDATE_INTERVAL}
-COPY daemon.bash /daemon.bash
-COPY update.bash /update.bash
+COPY install-hugo.bash daemon.bash update.bash /scripts/
+RUN apk add --no-cache coreutils gz tar tini bash git && /scripts/install-hugo && hugo version
VOLUME [ "/public" ]
ENTRYPOINT ["/sbin/tini", "--"]
CMD [ "/daemon.bash" ]