feat: debian install, docker tests

This commit is contained in:
2024-03-08 11:34:37 +00:00
parent d9283511a3
commit 02afe496d5
24 changed files with 201 additions and 326 deletions

17
script/docker-run Executable file
View File

@@ -0,0 +1,17 @@
#!/usr/bin/env bash
set -euo pipefail
# --------------------------------------------------------------------
# This script is used to run the install script in a docker container.
#
tag=$(cat /proc/sys/kernel/random/uuid)
docker build . \
--build-arg UUID=$tag \
--tag dotfiles:$tag \
--target install
docker run \
-v "$(pwd)"/logs:/home/test-user/.dotfiles/logs \
dotfiles:$tag \
/bin/bash