Skip to content

Commit be8ccfd

Browse files
committed
Add rustc toolchain to alpine images
1 parent e9ad293 commit be8ccfd

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

26/alpine3.22/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ RUN addgroup -g 1000 node \
2929
# backup build
3030
&& apk add --no-cache --virtual .build-deps-full \
3131
binutils-gold \
32+
cargo \
3233
g++ \
3334
gcc \
3435
gnupg \
@@ -37,6 +38,7 @@ RUN addgroup -g 1000 node \
3738
make \
3839
python3 \
3940
py-setuptools \
41+
rustc \
4042
# use pre-existing gpg directory, see https://github.com/nodejs/docker-node/pull/1895#issuecomment-1550389150
4143
&& export GNUPGHOME="$(mktemp -d)" \
4244
# gpg keys listed at https://github.com/nodejs/node#release-keys

26/alpine3.23/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ RUN addgroup -g 1000 node \
2929
# backup build
3030
&& apk add --no-cache --virtual .build-deps-full \
3131
binutils-gold \
32+
cargo \
3233
g++ \
3334
gcc \
3435
gnupg \
@@ -37,6 +38,7 @@ RUN addgroup -g 1000 node \
3738
make \
3839
python3 \
3940
py-setuptools \
41+
rustc \
4042
# use pre-existing gpg directory, see https://github.com/nodejs/docker-node/pull/1895#issuecomment-1550389150
4143
&& export GNUPGHOME="$(mktemp -d)" \
4244
# gpg keys listed at https://github.com/nodejs/node#release-keys

0 commit comments

Comments
 (0)