You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: Dockerfile
+1
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,7 @@ COPY pkg/ pkg/
14
14
15
15
ARG TARGETARCH
16
16
ARG TARGETPLATFORM
17
+
ARG LDFLAGS
17
18
RUN CGO_ENABLED=0 GOOS=linux GOARCH=${TARGETARCH} GO111MODULE=on go build -a -ldflags "${LDFLAGS:--X github.com/Azure/kubernetes-kms/pkg/version.BuildVersion=latest}" -o _output/kubernetes-kms main.go
18
19
19
20
# Use distroless as minimal base image to package the manager binary
0 commit comments