From f313a39e9e81ab8b82673e81c0f97f7e0b788bbb Mon Sep 17 00:00:00 2001 From: Math Costa Date: Wed, 8 Aug 2018 17:54:45 -0300 Subject: [PATCH] Update README and Dockerfile (#9781) * Updates readme's site building instructions * Alters dockerfile to use extended hugo build This is necessary for the pipes used w/ TOCSS since node-sass was dropped --- Dockerfile | 4 +++- README.md | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) 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 \