Skip to content
This repository was archived by the owner on Feb 3, 2023. It is now read-only.

Commit 2d1ae2a

Browse files
authored
Update to golang v1.2.7, bump tools, add packr2 (#23)
1 parent 86e17f4 commit 2d1ae2a

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

Dockerfile

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
1-
FROM golang:1.12.1-alpine
2-
ENV GOLANGCI_LINT_VERSION v1.15.0
3-
ENV GOTESTSUM_VERSION 0.3.3
1+
FROM golang:1.12.7-alpine
2+
ENV GOLANGCI_LINT_VERSION v1.17.1
3+
ENV GOTESTSUM_VERSION 0.3.5
4+
ENV PACKR2_VERSION 2.5.2
45

56
RUN apk update && apk add git bash build-base curl
67

78
RUN curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b $GOPATH/bin $GOLANGCI_LINT_VERSION
89

910
RUN curl -sSL "https://github.com/gotestyourself/gotestsum/releases/download/v$GOTESTSUM_VERSION/gotestsum_${GOTESTSUM_VERSION}_linux_amd64.tar.gz" | tar -xz -C /usr/local/bin gotestsum && chmod +x /usr/local/bin/gotestsum
1011

12+
RUN curl -sSL "https://github.com/gobuffalo/packr/releases/download/v${PACKR2_VERSION}/packr_${PACKR2_VERSION}_linux_amd64.tar.gz" | tar -xz -C /usr/local/bin packr2 && chmod +x /usr/local/bin/packr2
13+
14+
#https://github.com/gobuffalo/packr/releases/download/v2.5.2/packr_2.5.2_linux_amd64.tar.gz
15+
1116
# discussion of various tools at
1217
# http://blog.ralch.com/tutorial/golang-tools-inspection/
1318
# https://dominik.honnef.co/posts/2014/12/go-tools/#goreturns

0 commit comments

Comments
 (0)