@@ -2,14 +2,14 @@ FROM rust:slim@sha256:9abf10cc84dfad6ace1b0aae3951dc5200f467c593394288c11db1e17b
2
2
# Install rust helper programs
3
3
# ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
4
4
ENV CARGO_INSTALL_ROOT=/tmp/
5
- RUN cargo install exa bat ripgrep typos-cli watchexec-cli && \
5
+ RUN cargo install typos-cli watchexec-cli && \
6
6
# Reduce image size.
7
7
rm -rf /usr/local/cargo/registry
8
8
9
9
FROM ubuntu:jammy@sha256:0e5e4a57c2499249aafc3b40fcd541e9a456aab7296681a3994d631587203f97 AS go
10
10
11
11
# Install Go manually, so that we can control the version
12
- ARG GO_VERSION=1.24.1
12
+ ARG GO_VERSION=1.22.12
13
13
14
14
# Boring Go is needed to build FIPS-compliant binaries.
15
15
RUN apt-get update && \
@@ -65,9 +65,6 @@ RUN apt-get update && \
65
65
# we're using for the version of go-critic that it embeds, then check
66
66
# the version of ruleguard in go-critic for that tag.
67
67
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 && \
71
68
# go-releaser for building 'fat binaries' that work cross-platform
72
69
go install github.com/goreleaser/goreleaser@v1.6.1 && \
73
70
go install mvdan.cc/sh/v3/cmd/shfmt@v3.7.0 && \
@@ -128,6 +125,7 @@ RUN apt-get update --quiet && apt-get install --yes \
128
125
asciinema \
129
126
bash \
130
127
bash-completion \
128
+ bat \
131
129
bats \
132
130
bind9-dnsutils \
133
131
build-essential \
@@ -140,6 +138,7 @@ RUN apt-get update --quiet && apt-get install --yes \
140
138
docker-ce \
141
139
docker-ce-cli \
142
140
docker-compose-plugin \
141
+ exa \
143
142
fd-find \
144
143
file \
145
144
fish \
@@ -176,6 +175,7 @@ RUN apt-get update --quiet && apt-get install --yes \
176
175
postgresql-16 \
177
176
python3 \
178
177
python3-pip \
178
+ ripgrep \
179
179
rsync \
180
180
screen \
181
181
shellcheck \
0 commit comments