docker-scripts/linux/ecosystem/perforce/p4p/r23.2/docker-entrypoint.sh
STAM 61938a770d
big rework
bump versions

updated `LazyGIT` to `0.40.2`

converterd some envs to args

sources.list fix + nextcloud updates

python fix

java fixes

python fix

java fixes

bitbucket full images
2024-02-09 13:48:51 +03:00

21 lines
516 B
Bash
Executable File

#!/bin/bash
: ${P4ARGS:=}
: ${P4DEBUG:=}
: ${P4PROOT:=}
: ${P4PCACHE:=/perforce/cache}
: ${P4LOG:=/perforce/logs/p4p.log}
: ${P4TARGET:=}
: ${P4PORT:=1666}
if [[ -z "${P4TARGET}" ]]; then
echo "[p4p] FATAL: env P4TARGET is not set. Please, set it and try again. Shutting down."
exit 1
fi
echo "======================================================"
echo "[p4p] Starting up..."
echo "======================================================"
p4p -p ${P4PORT} -r ${P4CACHE} -t ${P4TARGET} -L ${P4LOG} ${P4ARGS}