Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Signed-off-by: Howard Tseng <howardt12345@gmail.com>
  • Loading branch information
howardt12345 authored Sep 29, 2024
1 parent 77d1fef commit 18367bd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/BuildImage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 ****"

0 comments on commit 18367bd

Please sign in to comment.