You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/12/01 06:20:00 UTC

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

    [ https://issues.apache.org/jira/browse/BIGTOP-2840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16274000#comment-16274000 ] 

ASF GitHub Bot commented on BIGTOP-2840:
----------------------------------------

Github user JunHe77 closed the pull request at:

    https://github.com/apache/bigtop/pull/254


> 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: Improvement
>          Components: build, toolchain
>    Affects Versions: 1.2.0
>         Environment: Non X86 platform
>            Reporter: Jun He
>            Assignee: 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)