hugo, ensure the executable is available and executable.

This commit is contained in:
me committed 2026-10-27 21:22:42 -07:00
1 parent 18fd1dbc1f
commit a63ac8a31f
1 file changed
+2 -1
+2 -1
View File
@@ -20,7 +20,8 @@ RUN apt-get update && \
RUN CGO_ENABLED=1 go install -tags extended github.com/gohugoio/hugo@v0.164.0 RUN CGO_ENABLED=1 go install -tags extended github.com/gohugoio/hugo@v0.164.0
# Install Hugo # Install Hugo
RUN ln -s $HOME/go/bin/hugo /usr/local/bin/hugo RUN mv -v $HOME/go/bin/hugo /usr/local/bin/hugo && \
chmod -v 755 /usr/local/bin/hugo
# User and Group # User and Group
#RUN groupadd -r hugo && useradd -r -g hugo hugo #RUN groupadd -r hugo && useradd -r -g hugo hugo