Skip to content

Commit

Permalink
Fix the java installation in the DeepVariant OSS prereqs, which is
Browse files Browse the repository at this point in the history
currently failing on Debian.

PiperOrigin-RevId: 195157793
  • Loading branch information
Genomics team in Google Brain authored and Copybara-Service committed May 2, 2018
1 parent 5489a37 commit ad76aef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build-prereq.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ if ! java -version 2>&1 | fgrep "1.8"; then
[[ $(lsb_release -d | grep 'Debian') ]] && \
sudo -H apt-get install -y gnupg dirmngr && \
sudo -H apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886
sudo add-apt-repository -y ppa:webupd8team/java
echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main" | tee /etc/apt/sources.list.d/webupd8team-java.list
echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main" | tee -a /etc/apt/sources.list.d/webupd8team-java.list
sudo -H apt-get -qq -y update
echo "oracle-java8-installer shared/accepted-oracle-license-v1-1 select true" | sudo debconf-set-selections
sudo -H apt-get install -y oracle-java8-installer
Expand Down

0 comments on commit ad76aef

Please sign in to comment.