prepared dot files

This commit is contained in:
2026-07-04 23:48:24 +02:00
commit 913ebaab14
26 changed files with 1103 additions and 0 deletions
Executable
+15
View File
@@ -0,0 +1,15 @@
#!/usr/bin/env bash
# Disposable Arch container for testing the installer without touching the host.
# Usage:
# ./docker/test.sh # interactive shell, deps installed
# ./docker/test.sh "npx tsc --noEmit" # run one command non-interactively
set -euo pipefail
cd "$(dirname "$0")/.."
docker build -t dotfiles-test -f docker/Dockerfile .
tty_flags=(-i)
[ -t 0 ] && [ -t 1 ] && tty_flags+=(-t)
docker run --rm "${tty_flags[@]}" -v "$PWD":/src:ro dotfiles-test \
bash -lc 'cp -r /src ~/DotFiles && cd ~/DotFiles && npm install && exec bash -c "$1"' -- "${1:-bash}"