Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.

Commit

Permalink
Merge pull request #372 from neicnordic/hotfix/build-vcs-go
Browse files Browse the repository at this point in the history
add buildvcs flag to go build with false
  • Loading branch information
blankdots committed Mar 21, 2022
2 parents 51d859b + ca0a324 commit dc8e713
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 @@ -5,7 +5,7 @@ ENV CGO_ENABLED=0

COPY . .

RUN for p in cmd/*; do go build -o "${p/cmd\//sda-}" "./$p"; done
RUN for p in cmd/*; do go build -buildvcs=false -o "${p/cmd\//sda-}" "./$p"; done
RUN echo "nobody:x:65534:65534:nobody:/:/sbin/nologin" > passwd

FROM scratch
Expand Down

0 comments on commit dc8e713

Please sign in to comment.