fix: add gcompat to the alpine image to fix libc (#107)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

Reviewed-on: docker/hugo#107
This commit is contained in:
Robert Kaussow 2023-06-23 09:15:18 +02:00
parent 79c3abf6cc
commit bf37834902

View File

@ -17,7 +17,7 @@ ENV HUGO_ENV=production
COPY overlay/ / COPY overlay/ /
RUN apk add --update --no-cache --virtual .build-deps tar curl && \ RUN apk add --update --no-cache --virtual .build-deps tar curl && \
apk add --update --no-cache libc6-compat libstdc++ busybox-suid bash bash-completion git tzdata make asciidoctor && \ apk add --update --no-cache gcompat libc6-compat libstdc++ busybox-suid bash bash-completion git tzdata make asciidoctor && \
echo "Installing hugo version '${HUGO_VERSION##v}' ..." && \ echo "Installing hugo version '${HUGO_VERSION##v}' ..." && \
curl -SsfL "https://github.com/gohugoio/hugo/releases/download/${HUGO_VERSION}/hugo_extended_${HUGO_VERSION##v}_Linux-64bit.tar.gz" | \ curl -SsfL "https://github.com/gohugoio/hugo/releases/download/${HUGO_VERSION}/hugo_extended_${HUGO_VERSION##v}_Linux-64bit.tar.gz" | \
tar xz -C /usr/local/bin hugo && \ tar xz -C /usr/local/bin hugo && \