diff --git a/Dockerfile b/Dockerfile index f79f18c5178..c60e8b65092 100755 --- a/Dockerfile +++ b/Dockerfile @@ -12,12 +12,13 @@ FROM golang:${GO_VERSION}-alpine${ALPINE_VERSION} AS gorun FROM gobuild AS build -RUN apk add --no-cache clang lld musl-dev +RUN apk add clang lld + # Set up cross-compilation helpers COPY --from=xx / / ARG TARGETPLATFORM -RUN xx-apk add --no-scripts --no-cache gcc g++ musl-dev +RUN xx-apk add musl-dev gcc g++ # Optionally set HUGO_BUILD_TAGS to "none" or "nodeploy" when building like so: # docker build --build-arg HUGO_BUILD_TAGS=nodeploy .