File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,8 +37,6 @@ RUN addgroup -g 1000 node \
3737 make \
3838 python3 \
3939 py-setuptools \
40- rust \
41- cargo \
4240 # use pre-existing gpg directory, see https://github.com/nodejs/docker-node/pull/1895#issuecomment-1550389150
4341 && export GNUPGHOME="$(mktemp -d)" \
4442 # gpg keys listed at https://github.com/nodejs/node#release-keys
Original file line number Diff line number Diff line change @@ -37,8 +37,6 @@ RUN addgroup -g 1000 node \
3737 make \
3838 python3 \
3939 py-setuptools \
40- rust \
41- cargo \
4240 # use pre-existing gpg directory, see https://github.com/nodejs/docker-node/pull/1895#issuecomment-1550389150
4341 && export GNUPGHOME="$(mktemp -d)" \
4442 # gpg keys listed at https://github.com/nodejs/node#release-keys
Original file line number Diff line number Diff line change @@ -37,8 +37,6 @@ RUN addgroup -g 1000 node \
3737 make \
3838 python3 \
3939 py-setuptools \
40- rust \
41- cargo \
4240 # use pre-existing gpg directory, see https://github.com/nodejs/docker-node/pull/1895#issuecomment-1550389150
4341 && export GNUPGHOME="$(mktemp -d)" \
4442 # gpg keys listed at https://github.com/nodejs/node#release-keys
Original file line number Diff line number Diff line change @@ -37,8 +37,6 @@ RUN addgroup -g 1000 node \
3737 make \
3838 python3 \
3939 py-setuptools \
40- rust \
41- cargo \
4240 # use pre-existing gpg directory, see https://github.com/nodejs/docker-node/pull/1895#issuecomment-1550389150
4341 && export GNUPGHOME="$(mktemp -d)" \
4442 # gpg keys listed at https://github.com/nodejs/node#release-keys
Original file line number Diff line number Diff line change @@ -37,8 +37,6 @@ RUN addgroup -g 1000 node \
3737 make \
3838 python3 \
3939 py-setuptools \
40- rust \
41- cargo \
4240 # use pre-existing gpg directory, see https://github.com/nodejs/docker-node/pull/1895#issuecomment-1550389150
4341 && export GNUPGHOME="$(mktemp -d)" \
4442 # gpg keys listed at https://github.com/nodejs/node#release-keys
Original file line number Diff line number Diff line change @@ -37,8 +37,6 @@ RUN addgroup -g 1000 node \
3737 make \
3838 python3 \
3939 py-setuptools \
40- rust \
41- cargo \
4240 # use pre-existing gpg directory, see https://github.com/nodejs/docker-node/pull/1895#issuecomment-1550389150
4341 && export GNUPGHOME="$(mktemp -d)" \
4442 # gpg keys listed at https://github.com/nodejs/node#release-keys
Original file line number Diff line number Diff line change @@ -167,6 +167,12 @@ function update_node_version() {
167167 sed -Ei -e " /ENV YARN_VERSION/,/rm -rf \/tmp\/\*/d" " ${dockerfile} -tmp"
168168 fi
169169
170+ # Strip out rust/cargo from Alpine images for Node < 26 since these versions don't need rust/cargo for Temporal
171+ # See: https://github.com/nodejs/docker-node/pull/2488
172+ if [ " ${nodeVersion: 0: 2} " -lt " 26" ]; then
173+ sed -Ei -e " /rust/,/cargo/d" " ${dockerfile} -tmp"
174+ fi
175+
170176 if diff -q " ${dockerfile} -tmp" " ${dockerfile} " > /dev/null; then
171177 echo " ${dockerfile} is already up to date!"
172178 else
You can’t perform that action at this time.
0 commit comments