hugo, capitalize RUN commands.
This commit is contained in:
1 parent
e4f5793106
commit
146f29f760
1 file changed
+3
-3
@@ -10,7 +10,7 @@ USER root
|
|||||||
ARG DEBIAN_FRONTEND=noninteractive
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
# System Dependencies
|
# System Dependencies
|
||||||
run echo "Install Dependencies"
|
RUN echo "Install Dependencies"
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y \
|
apt-get install -y \
|
||||||
git nginx cron curl bash sudo \
|
git nginx cron curl bash sudo \
|
||||||
@@ -19,11 +19,11 @@ RUN apt-get update && \
|
|||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Compile Hugo (same version Artix is currently shipping, rather than latest.)
|
# Compile Hugo (same version Artix is currently shipping, rather than latest.)
|
||||||
run echo "Compile Hugo"
|
RUN echo "Compile Hugo"
|
||||||
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 echo "Install Hugo"
|
RUN echo "Install Hugo"
|
||||||
RUN mv -v $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
|
chmod -v 755 /usr/local/bin/hugo
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user