Skip to content

Commit ab45772

Browse files
committed
chore(dogfood/coder): install rust deps from apt when possible
1 parent fe48124 commit ab45772

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

dogfood/coder/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ 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

@@ -128,6 +128,7 @@ RUN apt-get update --quiet && apt-get install --yes \
128128
asciinema \
129129
bash \
130130
bash-completion \
131+
bat \
131132
bats \
132133
bind9-dnsutils \
133134
build-essential \
@@ -140,6 +141,7 @@ RUN apt-get update --quiet && apt-get install --yes \
140141
docker-ce \
141142
docker-ce-cli \
142143
docker-compose-plugin \
144+
exa \
143145
fd-find \
144146
file \
145147
fish \
@@ -176,6 +178,7 @@ RUN apt-get update --quiet && apt-get install --yes \
176178
postgresql-16 \
177179
python3 \
178180
python3-pip \
181+
ripgrep \
179182
rsync \
180183
screen \
181184
shellcheck \

0 commit comments

Comments
 (0)