docker-notas/run
Glauber Ferreira c7c4811f3a
All checks were successful
Build and Push Image / Build and push image (push) Successful in 2m24s
primeiro commit
2024-04-29 04:25:54 -03:00

12 lines
256 B
Bash

#!/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