Skip to content

Commit 5611796

Browse files
authored
chore: drop linux/arm/v7 platform support (#326)
1 parent f115c82 commit 5611796

2 files changed

Lines changed: 3 additions & 13 deletions

File tree

images/node/ubuntu.Dockerfile

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,8 @@ FROM codercom/enterprise-base:ubuntu
33
# Run everything as root
44
USER root
55

6-
ARG TARGETARCH
7-
ARG TARGETVARIANT
8-
9-
# Install Node.js with platform-specific version
10-
# armv7: Node.js 22.x (last version with armv7 support)
11-
# others: Latest LTS
12-
# Ref: https://github.com/nodesource/distributions/issues/1881
13-
RUN NODE_VERSION="lts"; \
14-
if [ "${TARGETARCH}${TARGETVARIANT}" = "armv7" ]; then \
15-
NODE_VERSION="22"; \
16-
fi && \
17-
curl -sL https://deb.nodesource.com/setup_${NODE_VERSION}.x | bash - && \
6+
# Install Node.js (LTS)
7+
RUN curl -sL https://deb.nodesource.com/setup_lts.x | bash - && \
188
DEBIAN_FRONTEND="noninteractive" apt-get update -y && \
199
apt-get install -y nodejs
2010

scripts/build_images.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ for image in "${IMAGES[@]}"; do
102102
continue
103103
fi
104104

105-
run_trace $DRY_RUN depot build --project "gb3p8xrshk" --load --platform linux/arm64,linux/amd64,linux/arm/v7 --save --metadata-file="build_${image}.json" \
105+
run_trace $DRY_RUN depot build --project "gb3p8xrshk" --load --platform linux/amd64,linux/arm64 --save --metadata-file="build_${image}.json" \
106106
"${docker_flags[@]}" \
107107
"$image_dir" \
108108
--file="$image_path" \

0 commit comments

Comments
 (0)