Skip to content

Commit

Permalink
Disable CGO
Browse files Browse the repository at this point in the history
  • Loading branch information
jtdoepke committed May 6, 2024
1 parent 09794c6 commit 2e43bbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ COPY go.mod go.sum ./
RUN go mod download

COPY . .
RUN go build -o sloop ./pkg/sloop
RUN CGO_ENABLED=0 go build -o sloop ./pkg/sloop

FROM gcr.io/distroless/base

Expand Down

0 comments on commit 2e43bbb

Please sign in to comment.