diff --git a/nodejs.Dockerfile b/nodejs.Dockerfile index 7fabc8d..89fc2c6 100644 --- a/nodejs.Dockerfile +++ b/nodejs.Dockerfile @@ -25,8 +25,9 @@ RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \ apt install yarn # Install bun -RUN case $TARGETARCH in 'amd64') export target=linux-x64-baseline;; 'arm64') export target=linux-aarch64;; esac && \ - curl -fLo bun-linux.zip https://github.com/oven-sh/bun/releases/download/bun-${BUN_VERSION}/bun-'$target'.zip && \ +RUN case $TARGETARCH in 'amd64') TARGET=linux-x64-baseline;; 'arm64') TARGET=linux-aarch64;; esac && \ + echo "TARGET=$TARGET" && \ + curl -fLo bun-linux.zip https://github.com/oven-sh/bun/releases/download/bun-${BUN_VERSION}/bun-$TARGET.zip && \ unzip bun-linux.zip && \ mv bun-linux/bun /usr/local/bin/bun && \ rm bun-linux.zip