seems to work now
This commit is contained in:
parent
f9970f8b2f
commit
5713b283ed
36
run.sh
36
run.sh
@ -141,7 +141,17 @@ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash
|
||||
echo 'source /usr/local/nvm/nvm.sh' > /etc/bashrc.d/100.nvm.sh
|
||||
source /etc/bashrc.d/100.nvm.sh
|
||||
|
||||
nvm install stable
|
||||
nvm install node
|
||||
nvm use node
|
||||
|
||||
################################################################################
|
||||
## install yarn
|
||||
################################################################################
|
||||
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg |
|
||||
apt-key add -
|
||||
echo "deb https://dl.yarnpkg.com/debian/ stable main" |
|
||||
tee /etc/apt/sources.list.d/yarn.list
|
||||
apt update && apt install -y yarn
|
||||
|
||||
################################################################################
|
||||
## install rbenv + ruby
|
||||
@ -152,6 +162,10 @@ export PATH="/usr/local/rbenv/bin:$PATH"
|
||||
eval "$(rbenv init -)"
|
||||
EOF
|
||||
source /etc/bashrc.d/100.rbenv.sh
|
||||
|
||||
mkdir -p "$(rbenv root)"/plugins
|
||||
git clone https://github.com/rbenv/ruby-build.git "$(rbenv root)"/plugins/ruby-build
|
||||
|
||||
rbenv install $(rbenv install -l | grep -v - | tail -1)
|
||||
#rbenv install 2.6.3
|
||||
#rbenv install jruby-9.0.5.0
|
||||
@ -176,27 +190,19 @@ chmod +x ./ppss
|
||||
## upgrade pip and install bare essentials
|
||||
## update other python packages as possible
|
||||
################################################################################
|
||||
pip3 install --upgrade pip
|
||||
#pip3 install --upgrade pip
|
||||
pip3 install setuptools
|
||||
pip3 install pip-review
|
||||
pip-review --verbose --auto
|
||||
#pip3 install pip-review
|
||||
#pip-review --verbose --auto
|
||||
|
||||
# install other python packages
|
||||
PIP_PKGS="
|
||||
virtualenv
|
||||
pylint
|
||||
awscli
|
||||
pipenv
|
||||
pylint
|
||||
virtualenv
|
||||
"
|
||||
|
||||
for PKG in $PIP_PKGS; do
|
||||
pip3 install $PKG
|
||||
done
|
||||
|
||||
################################################################################
|
||||
## cleanup filesystem after build
|
||||
################################################################################
|
||||
rm -rf \
|
||||
/root/.cache \
|
||||
/var/cache/* \
|
||||
/var/lib/apt/lists/* \
|
||||
/core
|
||||
|
Loading…
Reference in New Issue
Block a user