install docker
This commit is contained in:
parent
b9e30f2e0e
commit
8b57dff8d4
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,8 +1,5 @@
|
|||||||
deploy/*
|
deploy/*
|
||||||
work/*
|
work/*
|
||||||
config
|
|
||||||
postrun.sh
|
postrun.sh
|
||||||
SKIP
|
|
||||||
SKIP_IMAGES
|
|
||||||
.pc
|
.pc
|
||||||
*-pc
|
*-pc
|
||||||
|
10
config
Normal file
10
config
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
IMG_NAME=showpieceos
|
||||||
|
DEPLOY_COMPRESSION=none
|
||||||
|
LOCALE_DEFAULT=en_US.UTF-8
|
||||||
|
TARGET_HOSTNAME=showpiece
|
||||||
|
KEYBOARD_KEYMAP=English (US)
|
||||||
|
TIMEZONE_DEFAULT=America/Chicago
|
||||||
|
FIRST_USER_NAME=pi
|
||||||
|
FIRST_USER_PASS=letmein
|
||||||
|
DISABLE_FIRST_BOOT_USER_RENAME=1
|
||||||
|
ENABLE_SSH=0
|
@ -10,6 +10,8 @@ firefox rpi-firefox-mods
|
|||||||
gldriver-test
|
gldriver-test
|
||||||
fonts-droid-fallback
|
fonts-droid-fallback
|
||||||
fonts-liberation2
|
fonts-liberation2
|
||||||
|
fonts-noto
|
||||||
|
fonts-noto-color-emoji
|
||||||
obconf
|
obconf
|
||||||
raindrop
|
raindrop
|
||||||
libcamera-tools
|
libcamera-tools
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
xserver-xorg xinit
|
xserver-xorg xinit
|
||||||
|
xrandr
|
||||||
mousepad
|
mousepad
|
||||||
eom
|
eom
|
||||||
|
vim
|
||||||
lxde lxtask menu-xdg
|
lxde lxtask menu-xdg
|
||||||
zenity xdg-utils
|
zenity xdg-utils
|
||||||
gvfs-backends gvfs-fuse
|
gvfs-backends gvfs-fuse
|
||||||
|
3
stage3/02-docker/00-packages
Normal file
3
stage3/02-docker/00-packages
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
apt-transport-https
|
||||||
|
gnupg2
|
||||||
|
software-properties-common
|
7
stage3/02-docker/01-run-chroot.sh
Executable file
7
stage3/02-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
stage3/02-docker/02-packages
Normal file
3
stage3/02-docker/02-packages
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
docker-ce
|
||||||
|
docker-compose-plugin
|
||||||
|
cgroupfs-mount
|
6
stage3/02-docker/03-run-chroot.sh
Executable file
6
stage3/02-docker/03-run-chroot.sh
Executable file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
systemctl enable docker
|
||||||
|
systemctl start docker
|
||||||
|
groupadd docker
|
||||||
|
gpasswd -a pi docker
|
||||||
|
newgrp docker
|
0
stage4/SKIP
Normal file
0
stage4/SKIP
Normal file
0
stage5/SKIP
Normal file
0
stage5/SKIP
Normal file
Loading…
x
Reference in New Issue
Block a user