mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
* wip * fix build * run debian update in systemd-nspawn * bugfix * fix build * free up space before image build
19 lines
375 B
Bash
19 lines
375 B
Bash
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
mkdir -p /run/systemd/resolve
|
|
echo "nameserver 8.8.8.8" > /run/systemd/resolve/stub-resolv.conf
|
|
|
|
apt-get update
|
|
apt-get install -y curl rsync
|
|
|
|
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
|
|
source ~/.bashrc
|
|
nvm install 20
|
|
|
|
ln -s $(which node) /usr/bin/node
|
|
|
|
systemctl enable container-runtime.service
|
|
|
|
rm -rf /run/systemd |