Issue in Docker image build

Problem

During Docker image build , oracle-java8 was not installed and build failed.

Cause

Used oracle-java8-installer but it gave following error.

"Connecting to download.oracle.com (download.oracle.com)|104.86.69.51|:80... connected.
HTTP request sent, awaiting response... 404 Not Found"

Fix

Installed jdk8 using "RUN apt-get install -y openjdk-8-jdk" in Dockerfile , it worked.