Skip to content

Commit

Permalink
Fix image build failed for CI (#254)
Browse files Browse the repository at this point in the history
  • Loading branch information
caoyingjunz authored Dec 30, 2023
1 parent 4aa9002 commit 509b2f7
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 @@ -6,7 +6,7 @@ COPY ./go.mod ./
COPY ./go.sum ./
# cache deps before building and copying source so that we don't need to re-download as much
# and so that source changes don't invalidate our downloaded layer
RUN go mod download
#RUN go mod download

COPY . .
RUN CGO_ENABLED=0 go build -ldflags "-s -w" -o ${APP} ./cmd/${APP}
Expand Down

0 comments on commit 509b2f7

Please sign in to comment.