Skip to content

Commit

Permalink
set CGO_ENABLED=0
Browse files Browse the repository at this point in the history
  • Loading branch information
adelowo committed Jan 26, 2024
1 parent ab987fc commit 59cce08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.ssh/
deploy/
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.sum /go/src/github.com/adelowo/sdump
RUN go mod download && go mod verify
COPY . .


ENV CGO_ENABLED=0
RUN go install ./cmd

FROM gcr.io/distroless/base
Expand Down

0 comments on commit 59cce08

Please sign in to comment.