Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
zsnmwy authored Sep 22, 2023
1 parent 5760553 commit babf4cd
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 @@ -21,7 +21,7 @@ COPY staging staging/
# and so that source changes don't invalidate our downloaded layer
RUN go mod download

RUN apk add gcc
RUN apk add gcc libc-dev

# Build
RUN go build -ldflags="${LDFLAGS}" -a -o ${PKGNAME} /go/src/github.com/gocrane/fadvisor/cmd/${PKGNAME}/main.go
Expand Down

0 comments on commit babf4cd

Please sign in to comment.