Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-2840

Failed to build bigtop-slaves-* images on non-X86 system

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Do
    • Affects Version/s: 1.2.0
    • Fix Version/s: None
    • Component/s: build, toolchain
    • Labels:
      None
    • Environment:

      Non X86 platform

      Description

      Steps to reproduce:

      1. Create a new puppet/slave for non-x86 platform, say: fedora-25-aarch64
      2. Build a local bigtop-puppet image: bigtop-puppet/fedora-25-aarch64
      3. Build bigtop/slaves image: ./gradlew -POS=fedora-25-aarch64 -Pprefix=1.2.0 bigtop-slaves
        This task will failed with following output:
        Step 1 : FROM bigtop/puppet:fedora-25-aarch64
        Pulling repository docker.io/bigtop/puppet
        Tag fedora-25-aarch64 not found in repository docker.io/bigtop/puppet
        :bigtop-slaves FAILED

      FAILURE: Build failed with an exception.

      • What went wrong:
        Execution failed for task ':bigtop-slaves'.
        > Process 'command 'docker'' finished with non-zero exit value 1

      Cause:
      This error is generated as bigtop/slaves task always try to get docker image from docker.io by using the "--pull" param.

      Solution:
      Add a new param, say "from" for bigtop/slaves task. The default value is "pull" which means pulling from docker.io. User may sepcify the value as "local" so this task can get base image from local system.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jun.he Jun He
                Reporter:
                jun.he Jun He
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: