Skip to content

Commit

Permalink
fix: upgrade to go v1.17 in dev.lint image
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Gleich <git@mattglei.ch>
  • Loading branch information
gleich committed Oct 27, 2021
1 parent 89adcdc commit a078e0a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docker/dev.lint.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ WORKDIR /usr/src/app

# Installing hadolint:
WORKDIR /usr/bin
RUN curl -sL -o hadolint "https://github.com/hadolint/hadolint/releases/download/v1.17.6/hadolint-$(uname -s)-$(uname -m)" \
RUN curl -sL -o hadolint "https://github.com/hadolint/hadolint/releases/download/v2.7.0/hadolint-$(uname -s)-$(uname -m)" \
&& chmod 700 hadolint

# Installing goreleaser
Expand All @@ -26,6 +26,11 @@ RUN apt-get update && apt-get install make=4.2.1-1.2 -y --no-install-recommends
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

# Installing go 1.17
RUN go install "golang.org/dl/go1.17@latest" \
&& go1.17 download \
&& mv "$(which go1.17)" "$(which go)"

WORKDIR /usr/src/app

CMD ["make", "local-lint"]

0 comments on commit a078e0a

Please sign in to comment.