Updated Dockerfile to use current latest Hugo ver: v0.109.0

This commit is contained in:
Hamza Ahmed
2022-12-29 11:19:28 +00:00
parent 7149c35461
commit b0b8575c71
+1 -1
View File
@@ -5,7 +5,7 @@ FROM alpine as Builder
RUN apk add curl git RUN apk add curl git
# download and unnzip the hugo binary then place it in /usr/local/bin # download and unnzip the hugo binary then place it in /usr/local/bin
RUN curl -L https://github.com/gohugoio/hugo/releases/download/v0.92.2/hugo_0.92.2_Linux-ARM64.tar.gz > hugo.tar.gz && tar -zxf hugo.tar.gz && mv hugo /usr/local/bin RUN curl -L https://github.com/gohugoio/hugo/releases/download/v0.109.0/hugo_0.109.0_linux-arm64.tar.gz > hugo.tar.gz && tar -zxf hugo.tar.gz && mv hugo /usr/local/bin
# clone the blog repository as well as the theme submodule # clone the blog repository as well as the theme submodule
RUN git clone --recurse-submodules https://gitlab.com/AHMZA/blog.git RUN git clone --recurse-submodules https://gitlab.com/AHMZA/blog.git