Scaffold Cloudron packaging workspace

This commit is contained in:
2025-10-02 13:39:36 -05:00
parent 482d4ff1b8
commit fe0ade1dd9
366 changed files with 4035 additions and 2493 deletions

8
run/dev.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
set -euo pipefail
IMAGE_NAME="knel/cloudron-devtools"
if ! docker image inspect "${IMAGE_NAME}" >/dev/null 2>&1; then
echo "Devtools image '${IMAGE_NAME}' not found. Building..."
docker build -t "${IMAGE_NAME}" -f docker/devtools/Dockerfile .
fi
docker run --rm -it -v "$PWD:/workspace" -v "/var/run/docker.sock:/var/run/docker.sock" -w /workspace "${IMAGE_NAME}" "$@"