Skip to content

Commit

Permalink
Add -buildvcs=false in dockerfile go build command
Browse files Browse the repository at this point in the history
Signed-off-by: thepetk <[email protected]>
  • Loading branch information
thepetk committed Nov 8, 2023
1 parent 56c3d9f commit adcf194
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM registry.access.redhat.com/ubi9/go-toolset:1.19.13-4.1697647145
COPY . .
RUN go mod download

RUN go build -o ./main
RUN go build -buildvcs=false -o ./main

ENV PORT 8081
EXPOSE 8081
Expand Down

0 comments on commit adcf194

Please sign in to comment.