mirror of
https://github.com/linuxserver/docker-mods.git
synced 2026-02-05 04:59:42 +08:00
Apply suggestions from code review
Signed-off-by: Howard Tseng <howardt12345@gmail.com>
This commit is contained in:
parent
77d1fef462
commit
18367bd1b1
2
.github/workflows/BuildImage.yml
vendored
2
.github/workflows/BuildImage.yml
vendored
@ -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:
|
||||
|
||||
@ -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 ****"
|
||||
Loading…
x
Reference in New Issue
Block a user