We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 310bb3e commit d31304dCopy full SHA for d31304d
1 file changed
Dockerfile
@@ -1,4 +1,4 @@
1
-FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.18 as builder
+FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.21 as builder
2
3
ARG TARGETPLATFORM
4
ARG BUILDPLATFORM
@@ -22,7 +22,7 @@ RUN GOOS=${TARGETOS} GOARCH=${TARGETARCH} CGO_ENABLED=0 \
22
-X github.com/inlets/mixctl/version.GitCommit=${GIT_COMMIT} \
23
-X github.com/inlets/mixctl/version.Version=${VERSION} \
24
-X github.com/inlets/mixctl/version.Platform=${TARGETARCH}" \
25
- -a -installsuffix netgo -o /usr/bin/mixctl
+ -o /usr/bin/mixctl
26
27
FROM --platform=${TARGETPLATFORM:-linux/amd64} scratch as release
28
COPY --from=builder /usr/bin/mixctl /
0 commit comments