Add java to installer

This commit is contained in:
John Doty 2022-07-21 06:54:52 -07:00
parent 181f1a8bdd
commit fba7ea2c9f

View file

@ -10,10 +10,15 @@ cd $MY_PATH
# Run the basic setup.
python3 "./setup.py"
# Temporary until we get java in the image or java in the WORKSPACE
wget -O- https://apt.corretto.aws/corretto.key | sudo apt-key add -
sudo add-apt-repository 'deb https://apt.corretto.aws stable main'
# OK this stuff here is better in bash, and also is specific to setting up
# coder.com instances, so. Add packages that I want in my coder image.
sudo apt-get update
sudo apt-get install -y fish
sudo apt-get install -y fish java-common java-1.8.0-amazon-corretto-jdk
# NOTE: THIS NEEDS TO BE INSTALLED IN THE BASE IMAGE OR CLANG DON'T RUN
# sudo apt-get install -y libtinfo5