github.com/replit/upm@v0.0.0-20240423230255-9ce4fc3ea24c/scripts/docker-install-languages.bash (about) 1 #!/usr/bin/env bash 2 3 set -e 4 set -o pipefail 5 6 export DEBIAN_FRONTEND=noninteractive 7 apt-get update 8 apt-get install -y curl gnupg 9 rm -rf /var/lib/apt/lists/* 10 11 curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - 12 13 tee -a /etc/apt/sources.list.d/yarn.list >/dev/null <<"EOF" 14 deb https://dl.yarnpkg.com/debian/ stable main 15 EOF 16 17 # bsdmainutils for the column utility. jq for prettifying JSON output 18 # if you want to actually read it as a human. 19 20 packages=" 21 22 bsdmainutils 23 curl 24 emacs-nox 25 git 26 jq 27 maven 28 nodejs 29 npm 30 python 31 python-pip 32 python3 33 python3-pip 34 python3-venv 35 r-base 36 r-base-dev 37 r-recommended 38 ruby 39 ruby-bundler 40 sqlite3 41 yarn 42 43 " 44 45 export DEBIAN_FRONTEND=noninteractive 46 apt-get update 47 apt-get install -y $packages 48 curl -fsSL https://get.pnpm.io/install.sh | sh - # Install via script given that PNPM is not on APT 49 rm -rf /var/lib/apt/lists/* 50 51 pip2 --disable-pip-version-check install poetry 52 pip3 --disable-pip-version-check install poetry 53 curl -fsSL https://raw.githubusercontent.com/cask/cask/master/go | python3 54 ln -s "$HOME/.cask/bin/cask" /usr/local/bin/ 55 56 # https://github.com/docker-library/rails/issues/10#issuecomment-169957222 57 bundle config --global silence_root_warning 1 58 gem install parser 59 60 rm /tmp/docker-install-languages.bash