You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/12/15 06:35:33 UTC

[GitHub] bhkim1020 removed a comment on issue #2290: ./gradlew distDocker build failed with two errors

bhkim1020 removed a comment on issue #2290: ./gradlew distDocker build failed with two errors
URL: https://github.com/apache/incubator-openwhisk/issues/2290#issuecomment-305372340
 
 
   @Little-gg I also have a same problem.
   I tried to modify Dockerfile following.
   ```
   RUN curl -v --silent --location --retry 3 --cacert /etc/ssl/certs/GeoTrust_Global_CA.pem \
     -b "oraclelicense=a" \
   (~~~~~~the same code as commited)
   ```
   However, I confirmed the following message and it was not executed ./distDocker
   Is there anyone like me?
   
   ```
   Step 12/13 : RUN curl -v --silent --location --retry 3 --cacert /etc/ssl/certs/GeoTrust_Global_CA.pem   -b "oraclelicense=a"   http://download.oracle.com/otn-pub/java/jdk/"${VERSION}"u"${UPDATE}"-b"${BUILD}"/d54c1d3a095b4ff2b6607d096fa80163/server-jre-"${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 /tmp/* /var/tmp/*
    ---> Running in bc414b41f07f
   * Hostname was NOT found in DNS cache
   * Could not resolve host: download.oracle.com
   * Closing connection 0
   ```
   I applied your code and java is in downloading progress.
   
   ```
   VERSION=8
   UPDATE=131
   BUILD=11
   curl -L -b "oraclelicense=a" http://download.oracle.com/otn-pub/java/jdk/"${VERSION}"u"${UPDATE}"-b"${BUILD}"/d54c1d3a095b4ff2b6607d096fa80163/server-jre-"${VERSION}"u"${UPDATE}"-linux-x64.tar.gz -O
   ```
   
   my docker version is following.
   ```
    Version:      17.05.0-ce-rc3
    API version:  1.29
    Go version:   go1.7.5
    Git commit:   90d35ab
    Built:        Tue May  2 17:48:51 2017
    OS/Arch:      linux/amd64
   ```
   
   and OS is ubuntu 16.04

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services