mirror of
https://github.com/actions/runner-images.git
synced 2025-12-18 07:46:57 +00:00
Disable env vars
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
# Add pipx_bin to path
|
# Add pipx_bin to path
|
||||||
export PATH="$PATH:/opt/pipx_bin"
|
python3 -m pipx ensurepath
|
||||||
|
|
||||||
# Install yamlint
|
# Install yamlint
|
||||||
pipx install yamllint
|
pipx install yamllint
|
||||||
|
|||||||
@@ -26,11 +26,11 @@ export PIPX_HOME=/opt/pipx
|
|||||||
python3 -m pip install pipx
|
python3 -m pip install pipx
|
||||||
python3 -m pipx ensurepath
|
python3 -m pipx ensurepath
|
||||||
|
|
||||||
echo "PIPX_BIN_DIR=$PIPX_BIN_DIR" | tee -a /etc/environment
|
# echo "PIPX_BIN_DIR=$PIPX_BIN_DIR" | tee -a /etc/environment
|
||||||
echo "PIPX_HOME=$PIPX_HOME" | 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"
|
# 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