runtime/build_bun.sh

17 lines
277 B
Bash
Raw Permalink Normal View History

2024-08-13 17:59:45 +00:00
#!/bin/bash
set -e
mkdir -p /opt/techs
VERSION=$1
cd /usr/src
wget https://github.com/oven-sh/bun/releases/download/bun-v$VERSION/bun-linux-x64.zip
unzip bun-linux-x64.zip
mkdir -p /opt/techs/bun-$VERSION
mv bun-linux-x64 /opt/techs/bun-$VERSION/bin
rm bun-linux-x64.zip