Skip to content

Commit 445a059

Browse files
authored
ci: standardize on go 1.22.12 (#17047)
Standardizes on go1.22.12 in go.mod and in dogfood Dockerfile
1 parent d570ce7 commit 445a059

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

dogfood/coder/Dockerfile

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ FROM rust:slim@sha256:9abf10cc84dfad6ace1b0aae3951dc5200f467c593394288c11db1e17b
22
# Install rust helper programs
33
# ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
44
ENV CARGO_INSTALL_ROOT=/tmp/
5-
RUN cargo install exa bat ripgrep typos-cli watchexec-cli && \
5+
RUN cargo install typos-cli watchexec-cli && \
66
# Reduce image size.
77
rm -rf /usr/local/cargo/registry
88

99
FROM ubuntu:jammy@sha256:0e5e4a57c2499249aafc3b40fcd541e9a456aab7296681a3994d631587203f97 AS go
1010

1111
# Install Go manually, so that we can control the version
12-
ARG GO_VERSION=1.24.1
12+
ARG GO_VERSION=1.22.12
1313

1414
# Boring Go is needed to build FIPS-compliant binaries.
1515
RUN apt-get update && \
@@ -65,9 +65,6 @@ RUN apt-get update && \
6565
# we're using for the version of go-critic that it embeds, then check
6666
# the version of ruleguard in go-critic for that tag.
6767
go install github.com/quasilyte/go-ruleguard/cmd/ruleguard@v0.3.13 && \
68-
# go-fuzz for fuzzy testing. they don't publish releases so we rely on latest.
69-
go install github.com/dvyukov/go-fuzz/go-fuzz@latest && \
70-
go install github.com/dvyukov/go-fuzz/go-fuzz-build@latest && \
7168
# go-releaser for building 'fat binaries' that work cross-platform
7269
go install github.com/goreleaser/goreleaser@v1.6.1 && \
7370
go install mvdan.cc/sh/v3/cmd/shfmt@v3.7.0 && \
@@ -128,6 +125,7 @@ RUN apt-get update --quiet && apt-get install --yes \
128125
asciinema \
129126
bash \
130127
bash-completion \
128+
bat \
131129
bats \
132130
bind9-dnsutils \
133131
build-essential \
@@ -140,6 +138,7 @@ RUN apt-get update --quiet && apt-get install --yes \
140138
docker-ce \
141139
docker-ce-cli \
142140
docker-compose-plugin \
141+
exa \
143142
fd-find \
144143
file \
145144
fish \
@@ -176,6 +175,7 @@ RUN apt-get update --quiet && apt-get install --yes \
176175
postgresql-16 \
177176
python3 \
178177
python3-pip \
178+
ripgrep \
179179
rsync \
180180
screen \
181181
shellcheck \

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/coder/coder/v2
22

3-
go 1.22.9
3+
go 1.22.12
44

55
// Required until a v3 of chroma is created to lazily initialize all XML files.
66
// None of our dependencies seem to use the registries anyways, so this

0 commit comments

Comments
 (0)