Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Che build is failing in docker #10702

Closed
shahar-h opened this issue Aug 8, 2018 · 6 comments
Closed

Che build is failing in docker #10702

shahar-h opened this issue Aug 8, 2018 · 6 comments
Labels
area/doc Issues related to documentation

Comments

@shahar-h
Copy link

shahar-h commented Aug 8, 2018

Description

I'm trying to build che inside docker conatainer using eclipse/che-dev image, as described in the documentation:
https://www.eclipse.org/che/docs/build-reqs.html#build-in-docker

I'm using maven native profile: mvn clean install -Pnative.
Build is failing with the following error:
image

It appears that TypeScriptDTOGeneratorMojoITest.java integration test is trying run a docker container.
I would expect that docker should not be used when running maven with native profile.

Reproduction Steps

Build latest che with "docker run -ti -v ~/.m2:/home/user/.m2 -v /path/to/che/assembly:/che eclipse/che-dev:nightly sh -c "mvn clean install -Pnative"

Che version: 6.10.0

OS and version: Ubuntu 16.04

@skabashnyuk
Copy link
Contributor

try this way

docker run -ti -v ~/.m2:/home/user/.m2 -v /Users/sj/dev/src/redhat/che/core/che-core-typescript-dto-maven-plugin/:/projects eclipse/che-dev:nightly sh -c "mvn clean install -Pnative -DskipIntegrationTests"

important part -DskipIntegrationTests

@shahar-h
Copy link
Author

That is what I'm doing currently, but I want to build Che without skipping integration tests, and currently it is not possible using eclipse/che-dev image because the image doesn't contain docker.

@shahar-h
Copy link
Author

Can someone refer to my last comment?

@skabashnyuk
Copy link
Contributor

we are welcome for any pr that can fix this issue

@benoitf benoitf added area/doc Issues related to documentation and removed kind/docs labels Jul 9, 2019
@mmorhun
Copy link
Contributor

mmorhun commented Aug 16, 2019

Covered by #14181

@mmorhun mmorhun closed this as completed Aug 16, 2019
@mmorhun
Copy link
Contributor

mmorhun commented Aug 16, 2019

Feel free to reopen in case of any issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/doc Issues related to documentation
Projects
None yet
Development

No branches or pull requests

4 participants