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.
1 parent b4af051 commit cc93c88Copy full SHA for cc93c88
Dockerfile
@@ -7,7 +7,7 @@ WORKDIR /go/src/cloudkms-encryption
7
COPY . /go/src/cloudkms-encryption
8
ENV GO111MODULE=on
9
RUN go mod download
10
-RUN CGO_ENABLED=0 GOOS=linux go build -o /go/bin/cloudkms-encryption
+RUN CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-w -extldflags "-static"' -o /go/bin/cloudkms-encryption
11
12
#without these certificates, we cannot verify the JWT token
13
FROM alpine:latest as certs
0 commit comments