primeiro commit
All checks were successful
Build and Push Image / Build and push image (push) Successful in 2m24s

This commit is contained in:
2024-04-29 04:25:54 -03:00
commit c7c4811f3a
3 changed files with 54 additions and 0 deletions

11
run Normal file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
set -e
if [ -z "$GITREPO" ]; then
echo "variável GITREPO não encontrada"
exit 1
fi
mkdir -p /var/lib/gw
git clone "$GITREPO" /var/lib/gw/gitrepo
cd /var/lib/gw
exec gw gitrepo &
algernon --httponly --nocache -x -s /var/lib/gw/gitrepo