@@ -2,14 +2,14 @@ FROM rust:slim@sha256:9abf10cc84dfad6ace1b0aae3951dc5200f467c593394288c11db1e17b
22# Install rust helper programs
33# ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
44ENV 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
99FROM 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.
1515RUN 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/
[email protected] && \
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/
[email protected] && \
7370 go install mvdan.cc/sh/v3/cmd/
[email protected] && \
@@ -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 \
0 commit comments