Skip to content

Commit

Permalink
Use go mod download
Browse files Browse the repository at this point in the history
  • Loading branch information
project0 committed May 26, 2022
1 parent 845c59f commit 4df5980
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 @@ -3,7 +3,7 @@ FROM golang:1.18 as builder
WORKDIR /go/src/github.com/project0/certjunkie/

COPY . .
RUN go get -v
RUN go mod download

RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -ldflags '-w' -o certjunkie .

Expand Down

0 comments on commit 4df5980

Please sign in to comment.