Skip to content

Commit

Permalink
Build static binaries in ca container image
Browse files Browse the repository at this point in the history
  • Loading branch information
ananthb committed Aug 9, 2023
1 parent d7ac8b0 commit 808048d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ca.Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ FROM docker.io/library/golang:${GO_VERSION} as builder
WORKDIR /src
COPY . .
RUN mkdir /build
RUN go build -o /build ./...
RUN env CGO_ENABLED=0 go build -o /build ./...

FROM gcr.io/distroless/base-debian11
# uses lambda-web-adapter to run our standard HTTP app in a lambda
Expand Down

0 comments on commit 808048d

Please sign in to comment.