Skip to content

Commit 9125f37

Browse files
committed
Reduce
1 parent 7c47bd4 commit 9125f37

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎Dockerfile‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@ FROM golang:${GO_VERSION}-alpine${ALPINE_VERSION} AS gorun
1212

1313
FROM gobuild AS build
1414

15-
RUN apk add --no-cache clang lld musl-dev
15+
RUN apk add clang lld
16+
1617
# Set up cross-compilation helpers
1718
COPY --from=xx / /
1819

1920
ARG TARGETPLATFORM
20-
RUN xx-apk add --no-scripts --no-cache gcc g++ musl-dev
21+
RUN xx-apk add musl-dev gcc g++
2122

2223
# Optionally set HUGO_BUILD_TAGS to "none" or "nodeploy" when building like so:
2324
# docker build --build-arg HUGO_BUILD_TAGS=nodeploy .

0 commit comments

Comments
 (0)