We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c45e203 commit 023bcfbCopy full SHA for 023bcfb
1 file changed
Dockerfile
@@ -15,13 +15,11 @@ RUN go mod download
15
COPY . .
16
RUN CGO_ENABLED=0 go build -ldflags "-s -w -X main.version=${VERSION} -X main.commit=${COMMIT} -X main.buildDate=${DATE}" -v -o ./bin/gcx ./cmd/gcx
17
18
-# Final image based on Alpine with necessary packages.
19
-FROM golang:1.24-alpine
+FROM golang:1.24
20
21
ENV GOTOOLCHAIN=auto
22
ENV GOROOT=/usr/local/go
23
24
-RUN apk --no-cache add ca-certificates git gcc musl-dev mercurial
25
WORKDIR /app
26
COPY --from=builder /app/bin/gcx /usr/bin/
27
0 commit comments