-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
switch go to 1.18, update version of installed packages
- Loading branch information
Showing
1 changed file
with
8 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 && \ | ||
|
@@ -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 | ||
|