Skip to content

Commit

Permalink
add git to build stage
Browse files Browse the repository at this point in the history
  • Loading branch information
skrashevich committed May 18, 2024
1 parent b2399f3 commit 3952f0b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ ENV GOARCH=${TARGETARCH}

WORKDIR /build

RUN apk add git

# Cache dependencies
COPY go.mod go.sum ./
RUN --mount=type=cache,target=/root/.cache/go-build go mod download
Expand Down

0 comments on commit 3952f0b

Please sign in to comment.