Skip to content

Commit a4812b5

Browse files
Create bash.sh
1 parent e30c0ad commit a4812b5

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

chroot/bash.sh

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
```
2+
sudo debootstrap --arch=amd64 stable chroot http://deb.debian.org/debian
3+
sudo chroot chroot /bin/bash
4+
5+
apt update
6+
apt install -y \
7+
build-essential clang gcc g++ gdb cmake make ninja-build meson \
8+
rustc cargo golang nodejs npm python3 python3-pip openjdk-17-jdk maven gradle \
9+
dart flutter swift \
10+
sqlite3 postgresql mysql-server mongodb \
11+
docker.io podman skopeo buildah \
12+
git curl wget unzip vim nano zsh fish
13+
14+
useradd -m dev -s /bin/bash
15+
echo "dev:dev" | chpasswd
16+
adduser dev sudo
17+
18+
apt clean
19+
exit
20+
qemu-system-x86_64 -cdrom MiniOS.iso -m 2048
21+
```

0 commit comments

Comments
 (0)