We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 16026a9 + 4253caa commit 61fe81cCopy full SHA for 61fe81c
Dockerfile
@@ -1,4 +1,5 @@
1
-FROM docker.io/library/golang:1-alpine AS builder
+FROM docker.io/library/golang:1.25-alpine AS builder
2
+
3
RUN mkdir /src
4
WORKDIR /src
5
@@ -8,6 +9,7 @@ RUN --mount=type=cache,target=/go/pkg/mod \
8
9
COPY . /src/
10
11
ENV CGO_ENABLED=0
12
+ENV GOEXPERIMENT=greenteagc
13
RUN --mount=type=cache,target=/go/pkg/mod \
14
go build -ldflags="-s -w" -trimpath -o ./bin/server
15
0 commit comments