kanidm/platform/debian/interactive_entrypoint.sh
James Hodgkinson 38b0a6f8af
Ubuntu/Debian buildy scripty tweaky things (#2928)
* updating container builder
* tweaking dependency script
* closes #2749 - updates the book for install
2024-07-25 01:10:55 +00:00

20 lines
422 B
Bash
Executable file

#!/bin/bash
if [ -z "${TZ}" ]; then
export TZ="UTC"
fi
ln -snf "/usr/share/zoneinfo/$TZ" "/etc/localtime" && echo "$TZ" > /etc/timezone
# Install dependencies, for example make!
scripts/install_ubuntu_dependencies.sh
# Make git happy
git config --global --add safe.directory /root/kanidm
echo "To launch a deb build, try:"
echo "make -f ./platform/debian/Makefile debs/kanidm"
# Launch shell
exec /bin/bash "$@"