mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-06-29 03:33:19 -04:00
18367bd1b1
Signed-off-by: Howard Tseng <howardt12345@gmail.com>
18 lines
635 B
Plaintext
Executable File
18 lines
635 B
Plaintext
Executable File
#!/usr/bin/with-contenv bash
|
|
|
|
# This is an install script that is designed to run after init-mods-package-install
|
|
# so it can take advantage of packages installed
|
|
# init-mods-end depends on this script so that later init and services wait until this script exits
|
|
|
|
echo "**** Setting up poetry ****"
|
|
|
|
# Install poetry
|
|
curl -sSL https://install.python-poetry.org | python3 -
|
|
|
|
# Add poetry to the path
|
|
echo "**** ensuring poetry is in PATH ****"
|
|
if ! grep -q "$HOME/.local/bin" /var/run/s6/container_environment/PATH; then
|
|
printf ':$HOME/.local/bin' >> /var/run/s6/container_environment/PATH
|
|
fi
|
|
|
|
echo "**** poetry setup complete ****" |