Skip to content

Commit

Permalink
Reduce
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed Oct 11, 2024
1 parent 7c47bd4 commit 9125f37
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
Expand Down

0 comments on commit 9125f37

Please sign in to comment.