I'm trying to build an H2o docker image, using https://github.com/h2oai/h2o-3/blob/master/Dockerfile.
It gets the following error:
E: Package 'oracle-java8-installer' has no installation candidate
The command '/bin/sh -c echo 'DPkg::Post-Invoke {"/bin/rm -f /var/cache/apt/archives/.deb || true";};' | tee /etc/apt/apt.conf.d/no-cache && echo "deb http://mirror.math.princeton.edu/pub/ubuntu xenial main universe" >> /etc/apt/sources.list && apt-get update -q -y && apt-get dist-upgrade -y && apt-get clean && rm -rf /var/cache/apt/ && DEBIAN_FRONTEND=noninteractive apt-get install -y wget unzip python-pip python-sklearn python-pandas python-numpy python-matplotlib software-properties-common python-software-properties && add-apt-repository -y ppa:webupd8team/java && apt-get update -q && echo debconf shared/accepted-oracle-license-v1-1 select true | debconf-set-selections && echo debconf shared/accepted-oracle-license-v1-1 seen true | debconf-set-selections && DEBIAN_FRONTEND=noninteractive apt-get install -y oracle-java8-installer && apt-get clean && wget http://h2o-release.s3.amazonaws.com/h2o/latest_stable -O latest && wget --no-check-certificate -i latest -O /opt/h2o.zip && unzip -d /opt /opt/h2o.zip && rm /opt/h2o.zip && cd /opt && cd find . -name 'h2o.jar' | sed 's/.\///;s/\/h2o.jar//g'
&& cp h2o.jar /opt && /usr/bin/pip install find . -name "*.whl"
&& cd / && wget https://raw.githubusercontent.com/h2oai/h2o-3/master/docker/start-h2o-docker.sh && chmod +x start-h2o-docker.sh && wget http://s3.amazonaws.com/h2o-training/mnist/train.csv.gz && gunzip train.csv.gz && wget https://raw.githubusercontent.com/laurendiperna/Churn_Scripts/master/Extraction_Script.py && wget https://raw.githubusercontent.com/laurendiperna/Churn_Scripts/master/Transformation_Script.py && wget https://raw.githubusercontent.com/laurendiperna/Churn_Scripts/master/Modeling_Script.py' returned a non-zero code: 100
I'm assuming it may be related to the recent Oracle JDK License Update.
Is there a way to resolve this error in building the docker image?