add development server

This commit is contained in:
André Roth
2024-09-30 15:04:29 +02:00
parent fb538333fa
commit 5b92336668
2 changed files with 22 additions and 1 deletions

12
system/docker-wrapper Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/sh -e
usermod -u `stat -c %u /work/src` aptly >/dev/null
chown -R `stat -c %u /work/src` /var/lib/aptly
if [ -z "$@" ]; then
echo Error: no make target specified
exit 1
fi
cd /work/src
su aptly -c "GOPATH=$PWD/.go make $@"