diff --git a/Dockerfile b/Dockerfile index 4e2bae8b07..7305e47e24 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,7 +18,9 @@ ARG HUGO_VERSION RUN mkdir -p /usr/local/src && \ cd /usr/local/src && \ - curl -L https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_linux-64bit.tar.gz | tar -xz && \ + curl -L https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-64bit.tar.gz | tar -xz && \ + apk add build-base && \ + apk add libc6-compat && \ mv hugo /usr/local/bin/hugo && \ curl -L https://bin.equinox.io/c/dhgbqpS8Bvy/minify-stable-linux-amd64.tgz | tar -xz && \ mv minify /usr/local/bin && \ diff --git a/README.md b/README.md index e7a7454020..e4417cf657 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ You can create an image for a different version of Hugo by changing the value of Once the `kubernetes-hugo` image has been built locally, you can build the site: ```bash -make stage +make docker-serve # The underlying command: docker run \