hugo, use the same version of Hugo as development systems, not any newer.
This commit is contained in:
1 parent
84039c005e
commit
18fd1dbc1f
1 file changed
+2
-2
@@ -16,8 +16,8 @@ RUN apt-get update && \
|
||||
golang gcc ca-certificates && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Compile Hugo
|
||||
RUN CGO_ENABLED=1 go install -tags extended github.com/gohugoio/hugo@latest
|
||||
# Compile Hugo (same version Artix is currently shipping, rather than latest.)
|
||||
RUN CGO_ENABLED=1 go install -tags extended github.com/gohugoio/hugo@v0.164.0
|
||||
|
||||
# Install Hugo
|
||||
RUN ln -s $HOME/go/bin/hugo /usr/local/bin/hugo
|
||||
|
||||
Reference in new issue
Block a user