hugo, ensure the executable is available and executable.
This commit is contained in:
1 parent
18fd1dbc1f
commit
a63ac8a31f
1 file changed
+2
-1
@@ -20,7 +20,8 @@ RUN apt-get update && \
|
||||
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
|
||||
RUN mv -v $HOME/go/bin/hugo /usr/local/bin/hugo && \
|
||||
chmod -v 755 /usr/local/bin/hugo
|
||||
|
||||
# User and Group
|
||||
#RUN groupadd -r hugo && useradd -r -g hugo hugo
|
||||
|
||||
Reference in new issue
Block a user