This repository was archived by the owner on Jan 10, 2023. It is now read-only.
Description Environment
Mac OSX 10.13.6
Docker Engine 18.09.2
Steps to reproduce
Follow the Building the Docker image instructions in the readme:
git clone git@github.com:looker/docker_looker.git
cd docker_looker
docker build -t looker:latest .
Expected behaviour
Docker image is build
Actual behaviour
Build fails while downloading the JDK from Oracle's homepage. Error message:
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
The command '/bin/sh -c curl --silent --location --retry 3 --cacert /etc/ssl/certs/GeoTrust_Global_CA.pem --header "Cookie: oraclelicense=accept-securebackup-cookie;" http://download.oracle.com/otn-pub/java/jdk/"${VERSION}"u"${UPDATE}"-b"${BUILD}"/"${SIG}"/jdk-"${VERSION}"u"${UPDATE}"-linux-x64.tar.gz | tar xz -C /tmp && mkdir -p /usr/lib/jvm && mv /tmp/jdk1.${VERSION}.0_${UPDATE} "${JAVA_HOME}" && apt-get autoclean && apt-get --purge -y autoremove && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*' returned a non-zero code: 2
Cause
Possibly caused by Oracle requiring a login before downloading the JDK from it's site.
Possible solution
Use OpenJDK instead of Oracle JDK.
Reactions are currently unavailable
Environment
Mac OSX 10.13.6
Docker Engine 18.09.2
Steps to reproduce
Follow the Building the Docker image instructions in the readme:
Expected behaviour
Docker image is build
Actual behaviour
Build fails while downloading the JDK from Oracle's homepage. Error message:
Cause
Possibly caused by Oracle requiring a login before downloading the JDK from it's site.
Possible solution
Use OpenJDK instead of Oracle JDK.