Feature/debian runtime (#2600)

* wip

* fix build

* run debian update in systemd-nspawn

* bugfix

* fix build

* free up space before image build
This commit is contained in:
Aiden McClelland
2024-04-15 10:00:56 -06:00
committed by GitHub
parent 156bf02d21
commit 711c82472c
13 changed files with 131 additions and 45 deletions

View File

@@ -0,0 +1,19 @@
#!/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