Updated docker file to use hugo 0.121.1 and updated compose file to use
gitlab instead of nonexistent docker registry
This commit is contained in:
+2
-2
@@ -5,7 +5,7 @@ FROM alpine as Builder
|
||||
RUN apk add --update curl git
|
||||
|
||||
# download and unnzip the hugo binary then place it in /usr/local/bin
|
||||
RUN curl -L https://github.com/gohugoio/hugo/releases/download/v0.120.3/hugo_0.120.3_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.121.1/hugo_0.121.1_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
|
||||
RUN git clone --recurse-submodules https://gitlab.com/AHMZA/blog.git
|
||||
@@ -17,7 +17,7 @@ WORKDIR blog
|
||||
RUN hugo --minify --gc
|
||||
|
||||
|
||||
# Nginx image is as basic as we can get
|
||||
# Nginx image is as basic as we can get without introducing further complexity
|
||||
FROM nginx
|
||||
|
||||
# copy the nginx.conf file
|
||||
|
||||
Reference in New Issue
Block a user