Skip to content

Commit

Permalink
GITC-6364 bumped Go and Supercronic versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Graber committed Oct 16, 2024
1 parent be8ac30 commit 591c028
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions docker/deps/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,13 @@ RUN wget https://github.com/mikefarah/yq/releases/download/v4.44.3/yq_linux_amd6

# Install supercronic
WORKDIR /tmp
RUN wget https://go.dev/dl/go1.22.5.linux-amd64.tar.gz && \
tar xf go1.22.5.linux-amd64.tar.gz && \
RUN wget https://go.dev/dl/go1.23.2.linux-amd64.tar.gz && \
tar xf go1.23.2.linux-amd64.tar.gz && \
mv go /usr/local/ && \
ln -s /usr/local/go/bin/go /usr/local/bin/go && \
wget https://github.com/aptible/supercronic/archive/refs/tags/v0.2.30.tar.gz && \
tar xf v0.2.30.tar.gz && \
cd supercronic-0.2.30 && \
sed -i 's/client_golang v1.15.0/client_golang v1.19.0/g' go.mod && \
sed -i 's/protobuf v1.33.0/protobuf v1.34.2/g' go.mod && \
wget https://github.com/aptible/supercronic/archive/refs/tags/v0.2.33.tar.gz && \
tar xf v0.2.33.tar.gz && \
cd supercronic-0.2.33 && \
sed -i 's/386 arm arm64//g' build.sh && \
go mod tidy && \
go mod vendor && \
Expand All @@ -60,7 +58,7 @@ RUN wget https://go.dev/dl/go1.22.5.linux-amd64.tar.gz && \

# Clean prometheus client_golang
WORKDIR /root/go/pkg/mod/github.com/prometheus/
RUN cd client_golang@v1.19.1 && \
RUN cd client_golang@v1.20.2 && \
go mod tidy && \
go clean -modcache && \
cd /tmp/ && \
Expand Down

0 comments on commit 591c028

Please sign in to comment.