Add container-scripts/jcoco.sh

This commit is contained in:
2024-03-29 10:24:32 -09:00
parent cb300272a5
commit 0c8820fb03
+25
View File
@@ -0,0 +1,25 @@
sudo apt update
sudo apt install software-properties-common gnupg -y --no-install-recommends --no-install-suggests
sudo apt install make clang build-essential zlib1g-dev libffi-dev libbz2-dev libreadline-dev libsqlite3-dev -y --no-install-recommends --no-install-suggests
sudo apt-add-repository -y ppa:rael-gc/rvm
sudo apt install libssl1.0-dev -y
curl https://pyenv.run | bash
cat << 'END' >> ~/.profile
export PYENV_ROOT="$HOME/.pyenv"
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
END
source ~/.profile
CC=clang pyenv install 3.2.6
pyenv shell 3.2.6
echo pyenv shell 3.2.6 >> ~/.profile