Skip to content

Commit

Permalink
Install Zulu Java 8 JDK
Browse files Browse the repository at this point in the history
Signed-off-by: JP Simard <[email protected]>
  • Loading branch information
jpsim committed Dec 6, 2022
1 parent 340c3bc commit adb40c2
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions build_container/build_container_ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,29 @@ update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.10 1
# TODO(phlax): use hashed requirements
pip3 install -U pyyaml virtualenv

########################
# Begin JDK installation
########################

# Add Azul's public key
apt-key adv \
--keyserver hkp://keyserver.ubuntu.com:80 \
--recv-keys 0xB1998361219BD9C9

# Download and install the package that adds
# the Azul APT repository to the list of sources
curl -O https://cdn.azul.com/zulu/bin/zulu-repo_1.0.0-3_all.deb

# Install the Java 8 JDK
apt-get install -y ./zulu-repo_1.0.0-3_all.deb
apt-get update -y
apt-get install -y zulu8-jdk
rm ./zulu-repo_1.0.0-3_all.deb

######################
# End JDK installation
######################

##################################
# Begin Android tools installation
##################################
Expand Down

0 comments on commit adb40c2

Please sign in to comment.