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
pull/9765/merge
Math Costa 2018-08-08 17:54:45 -03:00 committed by k8s-ci-robot
parent 3b9678cfda
commit f313a39e9e
2 changed files with 4 additions and 2 deletions

View File

@ -18,7 +18,9 @@ ARG HUGO_VERSION
RUN mkdir -p /usr/local/src && \ RUN mkdir -p /usr/local/src && \
cd /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 && \ mv hugo /usr/local/bin/hugo && \
curl -L https://bin.equinox.io/c/dhgbqpS8Bvy/minify-stable-linux-amd64.tgz | tar -xz && \ curl -L https://bin.equinox.io/c/dhgbqpS8Bvy/minify-stable-linux-amd64.tgz | tar -xz && \
mv minify /usr/local/bin && \ mv minify /usr/local/bin && \

View File

@ -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: Once the `kubernetes-hugo` image has been built locally, you can build the site:
```bash ```bash
make stage make docker-serve
# The underlying command: # The underlying command:
docker run \ docker run \