Add java to installer
This commit is contained in:
parent
181f1a8bdd
commit
fba7ea2c9f
1 changed files with 6 additions and 1 deletions
|
|
@ -10,10 +10,15 @@ cd $MY_PATH
|
||||||
# Run the basic setup.
|
# Run the basic setup.
|
||||||
python3 "./setup.py"
|
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
|
# 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.
|
# coder.com instances, so. Add packages that I want in my coder image.
|
||||||
sudo apt-get update
|
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
|
# NOTE: THIS NEEDS TO BE INSTALLED IN THE BASE IMAGE OR CLANG DON'T RUN
|
||||||
# sudo apt-get install -y libtinfo5
|
# sudo apt-get install -y libtinfo5
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue