This repository was archived by the owner on Jan 26, 2021. It is now read-only.

Description
Operating System: Ubuntu 16.04
VirtualBox Manager: Oracle VM Version 5.2.8 r121009
Docker version: 18.03.1-ce, build 9ee9f40
I am trying to build the Dockerfile to test Multiverso on my virtual machine.
docker build -f ./Dockerfile .
Everything works till the Java files are being configured within the execturion of the Dockerfile, that is:
RUN mkdir -p /usr/local/java/default && \
curl -Ls 'http://download.oracle.com/otn-pub/java/jdk/8u65-b17/jdk-8u65-linux-x64.tar.gz' -H 'Cookie: oraclelicense=accept-securebackup-cookie' | \
tar --strip-components=1 -xz -C /usr/local/java/default/
On the terminal is shown the next error
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
The command '/bin/sh -c mkdir -p /usr/local/java/default &&
curl -Ls 'http://download.oracle.com/otn-pub/java/jdk/8u65-b17/jdk-8u65-linux-x64.tar.gz'
-H 'Cookie: oraclelicense=accept-securebackup-cookie' |
tar --strip-components=1 -xz -C /usr/local/java/default/' returned a non-zero code: 2
I think the problem comes from the oracle file that it is not fetched correctly.