mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-18 08:48:27 -04:00
Apply suggestions from code review
Signed-off-by: Howard Tseng <howardt12345@gmail.com>
This commit is contained in:
@@ -15,7 +15,7 @@ env:
|
|||||||
BASEIMAGE: "code-server" #replace
|
BASEIMAGE: "code-server" #replace
|
||||||
MODNAME: "python3-poetry" #replace
|
MODNAME: "python3-poetry" #replace
|
||||||
MOD_VERSION: ${{ inputs.mod_version }} #don't modify
|
MOD_VERSION: ${{ inputs.mod_version }} #don't modify
|
||||||
MULTI_ARCH: "true" #set to false if not needed
|
MULTI_ARCH: "false"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
set-vars:
|
set-vars:
|
||||||
|
|||||||
@@ -10,6 +10,9 @@ echo "**** Setting up poetry ****"
|
|||||||
curl -sSL https://install.python-poetry.org | python3 -
|
curl -sSL https://install.python-poetry.org | python3 -
|
||||||
|
|
||||||
# Add poetry to the path
|
# Add poetry to the path
|
||||||
echo "export PATH=\"\$HOME/.local/bin:\$PATH\"" >> /root/.bashrc
|
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 ****"
|
echo "**** poetry setup complete ****"
|
||||||
Reference in New Issue
Block a user