Skip to content

Commit

Permalink
fixed docker build and issue #548
Browse files Browse the repository at this point in the history
  • Loading branch information
daveshanley committed Oct 2, 2024
1 parent 8022c59 commit 76e2204
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 @@ -7,7 +7,7 @@ WORKDIR /opt/vacuum
COPY . ./

RUN go mod download && go mod verify
RUN go build -ldflags="-w -s" -v -o /vacuum vacuum.go
RUN go build -ldflags="-w -s -X 'main.version=$(git describe --tags --abbrev=0)' -X 'main.date=$(date +%Y-%m-%dT%TZ)'" -v -o /vacuum vacuum.go

FROM debian:bookworm-slim

Expand Down

0 comments on commit 76e2204

Please sign in to comment.