Uploaded image for project: 'Fabric Baseimage'
  1. Fabric Baseimage
  2. FABB-42

Fabric Installation Error : Docker RUN not working

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Medium
    • Resolution: Invalid
    • None
    • None

    Description

      Steps Followed :

      1. Installed Pre-requisites : Go, Docker, Docker Compose, Pip
      2. Clone of hyperledger-fabric :  

                 ~> GOPATH=/usr/local/go

                  ~> cd $GOPATH/src/github.com/hyperledger/fabric

                  ~> make dist-clean all   

      --------------------------------------------------------------------------------------

      warning: GOPATH set to GOROOT (/usr/local/go) has no effect
      warning: GOPATH set to GOROOT (/usr/local/go) has no effect
      warning: GOPATH set to GOROOT (/usr/local/go) has no effect
      Building docker javaenv-image
      docker build --build-arg 'http_proxy=http://127.0.0.1:3128/' --build-arg 'https_proxy=https://127.0.0.1:3128/' -t hyperledger/fabric-javaenv build/image/javaenv
      Sending build context to Docker daemon  45.06kB
      Step 1/15 : FROM hyperledger/fabric-baseimage:x86_64-0.3.2
       ---> c92d9fdee998
      Step 2/15 : RUN curl -sSL https://services.gradle.org/distributions/gradle-2.12-bin.zip > /tmp/gradle-2.12-bin.zip
       ---> Running in 3ba4808b2943
      curl: (7) Failed to connect to 127.0.0.1 port 3128: Connection refused
      The command '/bin/sh -c curl -sSL https://services.gradle.org/distributions/gradle-2.12-bin.zip > /tmp/gradle-2.12-bin.zip' returned a non-zero code: 7
      Makefile:279: recipe for target 'build/image/javaenv/.dummy-x86_64-1.0.4-snapshot-572dcd5' failed
      make: *** [build/image/javaenv/.dummy-x86_64-1.0.4-snapshot-572dcd5] Error 7

      ---------------------------------------------------------------------------------------------------------------

      Conclusion : Tried to RUN commands externally than Dockerfile it runs upto certain point, but while going forward it is must to run through docker only especially for javaenv folder (javabuild.sh). Looks like that the RUN commands are not working, Kindly help on the same.

       

       

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            capamaster capa master
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: