fix Dockerfile (#10312)
This commit is contained in:
+3
-3
@@ -12,15 +12,15 @@ RUN apk add --no-cache \
|
|||||||
curl \
|
curl \
|
||||||
git \
|
git \
|
||||||
openssh-client \
|
openssh-client \
|
||||||
rsync
|
rsync \
|
||||||
|
build-base \
|
||||||
|
libc6-compat
|
||||||
|
|
||||||
ARG HUGO_VERSION
|
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_extended_${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 && \
|
||||||
|
|||||||
Reference in New Issue
Block a user