You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Tsuyoshi Ozawa (JIRA)" <ji...@apache.org> on 2015/11/19 08:56:10 UTC

[jira] [Updated] (HADOOP-12586) Dockerfile cannot work correctly behind a proxy

     [ https://issues.apache.org/jira/browse/HADOOP-12586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsuyoshi Ozawa updated HADOOP-12586:
------------------------------------
    Attachment: HADOOP-12586.001.patch

Changed to pass environment variables via --build-arg parameters.

> Dockerfile cannot work correctly behind a proxy
> -----------------------------------------------
>
>                 Key: HADOOP-12586
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12586
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: build
>            Reporter: Tsuyoshi Ozawa
>            Assignee: Tsuyoshi Ozawa
>         Attachments: HADOOP-12586.001.patch
>
>
> {{apt-get}} command fails because there are not way to change proxy.
> {quote}
> Step 7 : RUN apt-get update && apt-get install --no-install-recommends -y     git curl ant make maven     cmake gcc g++     protobuf-compiler libprotoc-dev     protobuf-c-compiler libprotobuf-dev     build-essential libtool     zlib1g-dev pkg-config libssl-dev     snappy libsnappy-dev     bzip2 libbz2-dev     libjansson-dev     fuse libfuse-dev     libcurl4-openssl-dev     python python2.7 pylint     openjdk-7-jdk doxygen
>  ---> Running in 072a97b7fa45
> Err http://archive.ubuntu.com trusty InRelease
>   
> Err http://archive.ubuntu.com trusty-updates InRelease
>   
> Err http://archive.ubuntu.com trusty-security InRelease
>   
> Err http://archive.ubuntu.com trusty Release.gpg
>   Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8c01::19). - connect (101: Network is unreachable) [IP: 2001:67c:1360:8c01::19 80]
> Err http://archive.ubuntu.com trusty-updates Release.gpg
>   Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8c01::19). - connect (101: Network is unreachable) [IP: 2001:67c:1360:8c01::19 80]
> Err http://archive.ubuntu.com trusty-security Release.gpg
>   Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8c01::19). - connect (101: Network is unreachable) [IP: 2001:67c:1360:8c01::19 80]
> Reading package lists...
> W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/InRelease  
> W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/InRelease  
> W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-security/InRelease  
> W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg  Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8c01::19). - connect (101: Network is unreachable) [IP: 2001:67c:1360:8c01::19 80]
> W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/Release.gpg  Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8c01::19). - connect (101: Network is unreachable) [IP: 2001:67c:1360:8c01::19 80]
> W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-security/Release.gpg  Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8c01::19). - connect (101: Network is unreachable) [IP: 2001:67c:1360:8c01::19 80]
> W: Some index files failed to download. They have been ignored, or old ones used instead.
> {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)