Skip to content

Commit

Permalink
[-] fix error obtaining VCS status: "git" not found, fixes #408
Browse files Browse the repository at this point in the history
  • Loading branch information
pashagolub committed Apr 12, 2022
1 parent d0aa414 commit a79dffd
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 @@ -30,7 +30,7 @@ RUN go mod download
COPY . .

# Build the application
RUN go build -ldflags "-X main.commit=${COMMIT} -X main.version=${VERSION} -X main.date=${DATE}" -o pg_timetable .
RUN go build -buildvcs=false -ldflags "-X main.commit=${COMMIT} -X main.version=${VERSION} -X main.date=${DATE}" -o pg_timetable .

FROM scratch

Expand Down

0 comments on commit a79dffd

Please sign in to comment.