diff --git a/Config/HugoExample/Dockerfile b/Config/HugoExample/Dockerfile index 29c6321..7068eee 100644 --- a/Config/HugoExample/Dockerfile +++ b/Config/HugoExample/Dockerfile @@ -12,11 +12,14 @@ ARG DEBIAN_FRONTEND=noninteractive # System Dependencies RUN apt-get update && \ apt-get install -y --no-install-recommends \ - git nginx cron curl bash sudo htop golang gcc && \ + git nginx cron curl bash sudo \ + golang gcc && \ rm -rf /var/lib/apt/lists/* -# Install Hugo +# Compile Hugo RUN CGO_ENABLED=1 go install -tags extended github.com/gohugoio/hugo@latest + +# Install Hugo RUN ln -s $HOME/go/bin/hugo /usr/local/bin/hugo # User and Group