Skip to content

Commit

Permalink
switch go to 1.18, update version of installed packages
Browse files Browse the repository at this point in the history
  • Loading branch information
umputun committed Apr 25, 2022
1 parent 1a53117 commit 494ae54
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions build.go/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
FROM golang:1.17-alpine
FROM golang:1.18-alpine
LABEL maintainer="Umputun <[email protected]>"

ENV \
TIME_ZONE=America/Chicago \
CGO_ENABLED=0 \
GOVERALLS=0.0.11 \
GOLANGCI=1.43.0 \
GOLANGCI=1.45.2 \
STATIK=0.1.7 \
GORELEASER=1.1.0
GORELEASER=1.8.3

RUN \
apk add --no-cache --update tzdata git bash curl && \
Expand All @@ -18,17 +18,15 @@ RUN \

RUN \
go version && \
go get -u github.com/stretchr/testify && \
go get -u github.com/vektra/mockery/.../ && mockery -version && \
go get github.com/matryer/moq && moq -version
go install github.com/matryer/moq@latest && moq -version

RUN \
go get github.com/golangci/golangci-lint/cmd/golangci-lint@v${GOLANGCI} && \
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v${GOLANGCI} && \
golangci-lint --version

RUN go get github.com/mattn/goveralls@v${GOVERALLS} && which goveralls
RUN go get github.com/rakyll/statik@v${STATIK} && which statik
RUN go get github.com/goreleaser/goreleaser@v${GORELEASER} && goreleaser -v
RUN go install github.com/mattn/goveralls@v${GOVERALLS} && which goveralls
RUN go install github.com/rakyll/statik@v${STATIK} && which statik
RUN go install github.com/goreleaser/goreleaser@v${GORELEASER} && goreleaser -v

ADD coverage.sh /script/coverage.sh
ADD git-rev.sh /script/git-rev.sh
Expand Down

0 comments on commit 494ae54

Please sign in to comment.