Skip to content

Commit

Permalink
fix: Docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
ViRb3 committed Apr 20, 2022
1 parent f3821aa commit d869b5f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ FROM golang:1.18.1-alpine AS builder
WORKDIR /src
COPY . .

RUN go mod download && \
RUN apk add --no-cache git && \
go mod download && \
CGO_ENABLED=0 go build -ldflags="-s -w" -o "SignTools-Builder"

0 comments on commit d869b5f

Please sign in to comment.