File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ RUN set -ex && \
5050 ARCH=$(cat /tmp/node_arch.txt) && \
5151 echo "Downloading Node.js v${NODE_VERSION} for ${ARCH}..." && \
5252 curl -fsSLO "https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-${ARCH}.tar.xz" && \
53- ls -lh node-v${NODE_VERSION}-linux-${ARCH}.tar.xz
53+ ls -lh " node-v${NODE_VERSION}-linux-${ARCH}.tar.xz"
5454
5555# Step 3: Download checksum file
5656RUN set -ex && \
@@ -63,7 +63,7 @@ RUN set -ex && \
6363RUN set -ex && \
6464 ARCH=$(cat /tmp/node_arch.txt) && \
6565 echo "Verifying checksum for node-v${NODE_VERSION}-linux-${ARCH}.tar.xz..." && \
66- cat SHASUMS256.txt | grep "node-v${NODE_VERSION}-linux-${ARCH}.tar.xz" | head -n1 > checksum.txt && \
66+ grep "node-v${NODE_VERSION}-linux-${ARCH}.tar.xz" SHASUMS256.txt | head -n1 > checksum.txt && \
6767 echo "Checksum line:" && \
6868 cat checksum.txt && \
6969 sha256sum -c checksum.txt
@@ -82,7 +82,7 @@ RUN set -ex && \
8282 ln -sf /usr/local/node/bin/node /usr/local/bin/node && \
8383 ln -sf /usr/local/node/bin/npm /usr/local/bin/npm && \
8484 ln -sf /usr/local/node/bin/npx /usr/local/bin/npx && \
85- ls -la /usr/local/bin/ | grep -E " node| npm| npx"
85+ ls -la /usr/local/bin/node /usr/local/bin/ npm /usr/local/bin/ npx
8686
8787# Step 7: Verify installation and cleanup
8888RUN set -ex && \
You can’t perform that action at this time.
0 commit comments