We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73b535d commit 6c5cfd8Copy full SHA for 6c5cfd8
update.sh
@@ -156,6 +156,12 @@ function update_node_version() {
156
sed -Ei -e "s/(debian:)name-slim/\\1${variant}/" "${dockerfile}-tmp"
157
fi
158
159
+ # Strip out Yarn v1 from Node 26+ images https://github.com/nodejs/docker-node/issues/2407
160
+ # Can be removed from the image templates once Node 24 hits EOL on 2028-04-30
161
+ if [ "${nodeVersion:0:2}" -ge "26" ]; then
162
+ sed -Ei -e "/ENV YARN_VERSION/,/rm -rf \/tmp\/\*/d" "${dockerfile}-tmp"
163
+ fi
164
+
165
if diff -q "${dockerfile}-tmp" "${dockerfile}" > /dev/null; then
166
echo "${dockerfile} is already up to date!"
167
else
0 commit comments