fix Dockerfile (#10312)

This commit is contained in:
CaoShuFeng
2018-09-20 19:46:08 +08:00
committed by k8s-ci-robot
parent 3e33d3f9e0
commit a5c670943b
+3 -3
View File
@@ -12,15 +12,15 @@ RUN apk add --no-cache \
curl \
git \
openssh-client \
rsync
rsync \
build-base \
libc6-compat
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_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 && \