From a5c670943b5c6e4b365c3091cefcba03f89a4e8a Mon Sep 17 00:00:00 2001 From: CaoShuFeng Date: Thu, 20 Sep 2018 19:46:08 +0800 Subject: [PATCH] fix Dockerfile (#10312) --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7305e47e24..3dade4f6c4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 && \