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/24 08:33:01 UTC

[jira] [Comment Edited] (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=16098076#comment-16098076 ] 

Jun He edited comment on BIGTOP-2840 at 7/24/17 8:32 AM:
---------------------------------------------------------

Hi, [~evans_ye]. Yes, I agree with you. The if-else block just works for this case. It would be helpful to allow user to pass more options to controll how the image could be built. What kind of params do you think user/developer may need to customize? I can try to see if they can be added here.


was (Author: jun.he):
Hi, [~evans_ye]. Yes, I agree with your. The if-else block just works for this case. It would be helpful to allow user to pass more options to controll how the image could be built. What kind of params do you think user/developer may need to customize? I can try to see if they can be added here.

> 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
>            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)