Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [che-dev] che-dev Digest, Vol 31, Issue 10

Thanks all!

So it looks like on one host machine running the docker container, it was a permissions issue so `chmod` failed. On another, it was the JVM memory issue.

Thanks for your time and contributions. I’ll add these notes to my documentation. Curious if you have an FAQ where you record gotchas?

> On 30 Jul 2017, at 17:00, che-dev-request@xxxxxxxxxxx wrote:
> 
> Send che-dev mailing list submissions to
> 	che-dev@xxxxxxxxxxx
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://dev.eclipse.org/mailman/listinfo/che-dev
> or, via email, send a message with subject or body 'help' to
> 	che-dev-request@xxxxxxxxxxx
> 
> You can reach the person managing the list at
> 	che-dev-owner@xxxxxxxxxxx
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of che-dev digest..."
> 
> 
> Today's Topics:
> 
>   1. codenvy/che-dev (Andrew McLachlan)
>   2. Re: codenvy/che-dev (Mario)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Sat, 29 Jul 2017 19:51:25 +0100
> From: Andrew McLachlan <andrew.mclachlan@xxxxxx>
> To: che-dev@xxxxxxxxxxx
> Subject: [che-dev] codenvy/che-dev
> Message-ID: <72074C54-7156-45B6-83DD-148E29DDF389@xxxxxx>
> Content-Type: text/plain; charset="utf-8"
> 
> 
> Hi there,
> 
> To make things simple, I thought I?d `git clone che` and build it `mvn clean install -P fast` using the Docker image on hub.docker.com
> 
> docker run -it --rm --name build-che --network=host -v $HOME/.m2:/home/user/.m2 -v $PWD/che:/home/usr/che-build -w /home/usr/che-build codenvy/che-dev bash
> 
> Unfortunately this Docker Image does not build Che:
> 
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (compile) on project che-dashboard-war: An Ant BuildException has occured: exec returned: 137
> [ERROR] around Ant part ...<exec failonerror="true" dir="/home/usr/che-build/dashboard" executable="npm">... @ 4:81 in /home/usr/che-build/dashboard/target/antrun/build-main.xml
> [ERROR] -> [Help 1]
> 
> As I understand it, I should not need to do anything special to build Che from within the Docker container, so it could be that the Image isn?t setting things up correctly.
> 
> Advice most appreciated. Che builds fine on my Mac outside of a Docker container.
> 
> Thanks in advance,
> 
> Andrew
> 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <https://dev.eclipse.org/mailman/private/che-dev/attachments/20170729/e80cde5e/attachment.html>
> 
> ------------------------------
> 
> Message: 2
> Date: Sat, 29 Jul 2017 21:06:35 +0200
> From: Mario <mario.loriedo@xxxxxxxxx>
> To: che developer discussions <che-dev@xxxxxxxxxxx>
> Subject: Re: [che-dev] codenvy/che-dev
> Message-ID:
> 	<CAAc_wanBsfRJKVmhp1d-3OXrv973A_BW9Jorpvz3TKL8cWqPUQ@xxxxxxxxxxxxxx>
> Content-Type: text/plain; charset="utf-8"
> 
> It's most likely that your jvm is killed (err code 137) because it's using
> too much memory. Limiting the memory used by the maven build may help
> 
> Il 29 lug 2017 8:51 PM, "Andrew McLachlan" <andrew.mclachlan@xxxxxx> ha
> scritto:
> 
>> 
>> Hi there,
>> 
>> To make things simple, I thought I?d `git clone che` and build it `mvn
>> clean install -P fast` using the Docker image on hub.docker.com
>> 
>> docker run -it --rm --name build-che --network=host -v
>> $HOME/.m2:/home/user/.m2 -v $PWD/che:/home/usr/che-build -w
>> /home/usr/che-build codenvy/che-dev bash
>> 
>> Unfortunately this Docker Image does not build Che:
>> 
>> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run
>> (compile) on project che-dashboard-war: An Ant BuildException has occured:
>> exec returned: 137
>> [ERROR] around Ant part ...<exec failonerror="true"
>> dir="/home/usr/che-build/dashboard" executable="npm">... @ 4:81 in
>> /home/usr/che-build/dashboard/target/antrun/build-main.xml
>> [ERROR] -> [Help 1]
>> 
>> As I understand it, I should not need to do anything special to build Che
>> from within the Docker container, so it could be that the Image isn?t
>> setting things up correctly.
>> 
>> Advice most appreciated. Che builds fine on my Mac outside of a Docker
>> container.
>> 
>> Thanks in advance,
>> 
>> Andrew
>> 
>> 
>> _______________________________________________
>> che-dev mailing list
>> che-dev@xxxxxxxxxxx
>> To change your delivery options, retrieve your password, or unsubscribe
>> from this list, visit
>> https://dev.eclipse.org/mailman/listinfo/che-dev
>> 
>> 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <https://dev.eclipse.org/mailman/private/che-dev/attachments/20170729/a9a6e07f/attachment.html>
> 
> ------------------------------
> 
> _______________________________________________
> che-dev mailing list
> che-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/che-dev
> 
> 
> End of che-dev Digest, Vol 31, Issue 10
> ***************************************



Back to the top