diff --git a/install.sh b/install.sh index 9cc29ec..0dfee6d 100755 --- a/install.sh +++ b/install.sh @@ -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