Skip to content

Commit

Permalink
Use golang-1.17
Browse files Browse the repository at this point in the history
Dockerfile fails with golang-1.18. It needs git until [1] is fixed.
There are two options to fix it:

1. use 1.17 until -buildvcs=auto is added
2. add -buildvcs=false

This PR uses the first option.

[1]: golang/go#51798
  • Loading branch information
dmage committed Apr 21, 2022
1 parent 88a78ee commit bb0a083
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
@@ -1,4 +1,4 @@
FROM golang:alpine AS builder
FROM golang:1.17-alpine AS builder
WORKDIR /app
ADD . .
RUN go install -v .
Expand Down

0 comments on commit bb0a083

Please sign in to comment.