Apply suggestions from code review

Signed-off-by: Howard Tseng <howardt12345@gmail.com>
This commit is contained in:
Howard Tseng 2024-09-28 21:41:43 -04:00 committed by GitHub
parent 77d1fef462
commit 18367bd1b1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View File

@ -15,7 +15,7 @@ env:
BASEIMAGE: "code-server" #replace
MODNAME: "python3-poetry" #replace
MOD_VERSION: ${{ inputs.mod_version }} #don't modify
MULTI_ARCH: "true" #set to false if not needed
MULTI_ARCH: "false"
jobs:
set-vars:

View File

@ -10,6 +10,9 @@ echo "**** Setting up poetry ****"
curl -sSL https://install.python-poetry.org | python3 -
# 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 ****"