Skip to content

Commit

Permalink
attempt 4
Browse files Browse the repository at this point in the history
  • Loading branch information
djohts committed Dec 30, 2023
1 parent c6ba8a8 commit adfd6a5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions nodejs.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit adfd6a5

Please sign in to comment.