mirror of
https://github.com/actions/runner-images.git
synced 2025-12-17 23:28:57 +00:00
Fix
This commit is contained in:
@@ -6,6 +6,7 @@
|
|||||||
|
|
||||||
|
|
||||||
# export PATH="$PATH:/opt/pipx_bin"
|
# export PATH="$PATH:/opt/pipx_bin"
|
||||||
|
python3 -m pipx ensurepath
|
||||||
|
|
||||||
# Install yamlint
|
# Install yamlint
|
||||||
pipx install yamllint
|
pipx install yamllint
|
||||||
|
|||||||
@@ -31,11 +31,8 @@ python3 -m pipx ensurepath
|
|||||||
setEtcEnvironmentVariable "PIPX_BIN_DIR" $PIPX_BIN_DIR
|
setEtcEnvironmentVariable "PIPX_BIN_DIR" $PIPX_BIN_DIR
|
||||||
setEtcEnvironmentVariable "PIPX_HOME" $PIPX_HOME
|
setEtcEnvironmentVariable "PIPX_HOME" $PIPX_HOME
|
||||||
prependEtcEnvironmentPath /opt/pipx_bin
|
prependEtcEnvironmentPath /opt/pipx_bin
|
||||||
# echo "PIPX_BIN_DIR=$PIPX_BIN_DIR" | tee -a /etc/environment
|
|
||||||
# echo "PIPX_HOME=$PIPX_HOME" | tee -a /etc/environment
|
|
||||||
|
|
||||||
# Add pipx bin directory to path
|
# Add pipx bin directory to path
|
||||||
# export PATH="$PATH:$PIPX_BIN_DIR"
|
|
||||||
echo 'export PATH="$PATH:/opt/pipx_bin"' >> /etc/skel/.bashrc
|
echo 'export PATH="$PATH:/opt/pipx_bin"' >> /etc/skel/.bashrc
|
||||||
|
|
||||||
# Run tests to determine that the software installed as expected
|
# Run tests to determine that the software installed as expected
|
||||||
|
|||||||
Reference in New Issue
Block a user