1
0
forked from wrenn/wrenn
Co-authored-by: Tasnim Kabir Sadik <tksadik@omukk.dev>

Reviewed-on: wrenn/wrenn#50
This commit is contained in:
2026-05-24 21:10:37 +00:00
parent 4707f16c76
commit 05ddf62399
203 changed files with 15815 additions and 9344 deletions

17
images/build-alpine.sh Executable file
View File

@ -0,0 +1,17 @@
#!/usr/bin/env bash
#
# build-alpine.sh — Build the minimal-alpine system base rootfs (template id 1).
#
# Usage: bash images/build-alpine.sh
set -euo pipefail
source "$(cd "$(dirname "$0")" && pwd)/build-common.sh"
# Alpine is musl-based: the static envd + static tini run fine. bash is added so
# wrenn-user has a familiar login shell; wrenn-init itself only needs /bin/sh.
PREP="set -e
apk add --no-cache socat chrony sudo wget curl ca-certificates git iproute2 tini bash
adduser -D wrenn-user
${WRENN_SUDOERS_SETUP}"
build_system_rootfs "alpine:3.22" 1 "${PREP}"