Skip to content

Commit

Permalink
run tidy instead of download
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas Hiltl committed Aug 26, 2024
1 parent a83c645 commit 4b685fe
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ WORKDIR /build
ENV CGO_ENABLED=1
COPY go.mod .
COPY go.sum .
RUN go mod download
RUN go mod tidy

COPY . .
RUN go build -buildvcs=false -ldflags "-s -w -extldflags '-static'" -o ./openchangelog cmd/server.go
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.litefs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ WORKDIR /build
ENV CGO_ENABLED=1
COPY go.mod .
COPY go.sum .
RUN go mod download
RUN go mod tidy

COPY . .
RUN go build -buildvcs=false -ldflags "-s -w -extldflags '-static'" -o ./openchangelog cmd/server.go
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.sqlite
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ WORKDIR /build
ENV CGO_ENABLED=1
COPY go.mod .
COPY go.sum .
RUN go mod download
RUN go mod tidy

COPY . .
RUN go build -buildvcs=false -ldflags "-s -w -extldflags '-static'" -o ./openchangelog cmd/server.go
Expand Down

0 comments on commit 4b685fe

Please sign in to comment.