5
5
# See ../docs/sources/maintaining/release-loki-build-image.md
6
6
7
7
# Install helm (https://helm.sh/) and helm-docs (https://github.com/norwoodj/helm-docs) for generating Helm Chart reference.
8
- FROM golang:1.19.5 as helm
8
+ FROM golang:1.20.1 as helm
9
9
ARG HELM_VER="v3.2.3"
10
10
RUN curl -L -o /tmp/helm-$HELM_VER.tgz https://get.helm.sh/helm-${HELM_VER}-linux-amd64.tar.gz && \
11
11
tar -xz -C /tmp -f /tmp/helm-$HELM_VER.tgz && \
12
12
mv /tmp/linux-amd64/helm /usr/bin/helm && \
13
13
rm -rf /tmp/linux-amd64 /tmp/helm-$HELM_VER.tgz
14
14
RUN GO111MODULE=on go install github.com/norwoodj/helm-docs/cmd/
[email protected]
15
15
16
- FROM alpine:3.16.2 as lychee
16
+ FROM alpine:3.16.4 as lychee
17
17
ARG LYCHEE_VER="0.7.0"
18
18
RUN apk add --no-cache curl && \
19
19
curl -L -o /tmp/lychee-$LYCHEE_VER.tgz https://github.com/lycheeverse/lychee/releases/download/${LYCHEE_VER}/lychee-${LYCHEE_VER}-x86_64-unknown-linux-gnu.tar.gz && \
20
20
tar -xz -C /tmp -f /tmp/lychee-$LYCHEE_VER.tgz && \
21
21
mv /tmp/lychee /usr/bin/lychee && \
22
22
rm -rf /tmp/linux-amd64 /tmp/lychee-$LYCHEE_VER.tgz
23
23
24
- FROM alpine:3.16.2 as golangci
24
+ FROM alpine:3.16.4 as golangci
25
25
RUN apk add --no-cache curl && \
26
26
cd / && \
27
27
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.50.0
28
28
29
- FROM alpine:3.16.2 as buf
29
+ FROM alpine:3.16.4 as buf
30
30
31
31
RUN apk add --no-cache curl && \
32
32
curl -sSL "https://github.com/bufbuild/buf/releases/download/v1.4.0/buf-$(uname -s)-$(uname -m)" -o "/usr/bin/buf" && \
33
33
chmod +x "/usr/bin/buf"
34
34
35
- FROM alpine:3.16.2 as docker
35
+ FROM alpine:3.16.4 as docker
36
36
RUN apk add --no-cache docker-cli
37
37
38
38
# TODO this should be fixed to download and extract the specific release binary from github as we do for golangci and helm above
39
39
# however we need a commit which hasn't been released yet: https://github.com/drone/drone-cli/commit/1fad337d74ca0ecf420993d9d2d7229a1c99f054
40
40
# Read the comment below regarding GO111MODULE=on and why it is necessary
41
- FROM golang:1.19.5 as drone
41
+ FROM golang:1.20.1 as drone
42
42
RUN curl -L https://github.com/drone/drone-cli/releases/download/v1.4.0/drone_linux_amd64.tar.gz | tar zx && \
43
43
install -t /usr/local/bin drone
44
44
@@ -47,32 +47,32 @@ RUN curl -L https://github.com/drone/drone-cli/releases/download/v1.4.0/drone_li
47
47
# Error:
48
48
# github.com/fatih/[email protected] requires golang.org/x/[email protected]
49
49
# (not golang.org/x/[email protected] from golang.org/x/tools/cmd/goyacc@58d531046acdc757f177387bc1725bfa79895d69)
50
- FROM golang:1.19.5 as faillint
50
+ FROM golang:1.20.1 as faillint
51
51
RUN GO111MODULE=on go install github.com/fatih/
[email protected]
52
52
53
- FROM golang:1.19.5 as delve
53
+ FROM golang:1.20.1 as delve
54
54
RUN GO111MODULE=on go install github.com/go-delve/delve/cmd/dlv@latest
55
55
56
56
# Install ghr used to push binaries and template the release
57
57
# This collides with the version of go tools used in the base image, thus we install it in its own image and copy it over.
58
- FROM golang:1.19.5 as ghr
58
+ FROM golang:1.20.1 as ghr
59
59
RUN GO111MODULE=on go install github.com/tcnksm/ghr@9349474
60
60
61
61
# Install nfpm (https://nfpm.goreleaser.com) for creating .deb and .rpm packages.
62
- FROM golang:1.19.5 as nfpm
62
+ FROM golang:1.20.1 as nfpm
63
63
RUN GO111MODULE=on go install github.com/goreleaser/nfpm/v2/cmd/
[email protected]
64
64
65
65
# Install gotestsum
66
- FROM golang:1.19.5 as gotestsum
66
+ FROM golang:1.20.1 as gotestsum
67
67
RUN GO111MODULE=on go install gotest.tools/
[email protected]
68
68
69
69
# Install tools used to compile jsonnet.
70
- FROM golang:1.19.5 as jsonnet
70
+ FROM golang:1.20.1 as jsonnet
71
71
RUN GO111MODULE=on go install github.com/jsonnet-bundler/jsonnet-bundler/cmd/
[email protected]
72
72
RUN GO111MODULE=on go install github.com/monitoring-mixins/mixtool/cmd/mixtool@bca3066
73
73
RUN GO111MODULE=on go install github.com/google/go-jsonnet/cmd/
[email protected]
74
74
75
- FROM golang:1.19.5 -buster
75
+ FROM golang:1.20.1 -buster
76
76
RUN apt-get update && \
77
77
apt-get install -qy \
78
78
musl gnupg ragel \
0 commit comments