fix custom stage and add readme

This commit is contained in:
2025-04-24 15:51:59 +02:00
parent 4cba035fd0
commit c999eea6a4
2 changed files with 14 additions and 2 deletions
+9 -1
View File
@@ -1,2 +1,10 @@
# Build
- Always use the docker build script
- Always use the docker build script
- sudo CONTINUE=1 bash build-docker.sh
# System
- this builds a 'lite' version of the system, featuring also basic development tools
- deactivate wifi and bluetooth (wifi can be deactivated, bt has bt-disable overlay)
- install docker
- install poetry
- install wireguard
+5 -1
View File
@@ -4,8 +4,10 @@ set -e
# Install Docker (official instructions for Raspberry Pi OS)
curl -fsSL https://download.docker.com/linux/raspbian/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
apt-get update && apt-get install -y lsb-release
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/raspbian \
"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian \
$(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
apt-get update
apt-get install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin
@@ -13,6 +15,8 @@ apt-get install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin
docker compose version || true
# Install Python Poetry (official installer)
apt-get update
apt-get install -y python3
curl -sSL https://install.python-poetry.org | python3 -
# Install WireGuard