initial showpiece patches
This commit is contained in:
3
stage9/01-docker/00-packages
Normal file
3
stage9/01-docker/00-packages
Normal file
@@ -0,0 +1,3 @@
|
||||
apt-transport-https
|
||||
gnupg2
|
||||
software-properties-common
|
7
stage9/01-docker/01-run-chroot.sh
Executable file
7
stage9/01-docker/01-run-chroot.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
#change to "debian" if necessary:
|
||||
curl -fsSL https://download.docker.com/linux/$(. /etc/os-release; echo "$ID")/gpg | sudo apt-key add -
|
||||
echo "deb [arch=$(dpkg --print-architecture)] https://download.docker.com/linux/$(. /etc/os-release; echo "$ID") \
|
||||
$(lsb_release -cs) stable" | \
|
||||
tee /etc/apt/sources.list.d/docker.list
|
||||
apt update
|
3
stage9/01-docker/02-packages
Normal file
3
stage9/01-docker/02-packages
Normal file
@@ -0,0 +1,3 @@
|
||||
docker-ce
|
||||
docker-compose-plugin
|
||||
cgroupfs-mount
|
5
stage9/01-docker/03-run-chroot.sh
Executable file
5
stage9/01-docker/03-run-chroot.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
systemctl enable docker
|
||||
systemctl start docker
|
||||
gpasswd -a pi docker
|
||||
newgrp docker
|
Reference in New Issue
Block a user