You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Jun He (JIRA)" <ji...@apache.org> on 2017/07/13 02:14:00 UTC

[jira] [Created] (BIGTOP-2840) Failed to build bigtop-slaves-* images on non-X86 system

Jun He created BIGTOP-2840:
------------------------------

             Summary: Failed to build bigtop-slaves-* images on non-X86 system
                 Key: BIGTOP-2840
                 URL: https://issues.apache.org/jira/browse/BIGTOP-2840
             Project: Bigtop
          Issue Type: Bug
          Components: build
    Affects Versions: 1.2.0
         Environment: Non X86 platform
            Reporter: Jun He


Steps to reproduce:
# Create a new puppet/slave for non-x86 platform, say: fedora-25-aarch64
# Build a local bigtop-puppet image: bigtop-puppet/fedora-25-aarch64
# 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.




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)