The build scripts have been modified to generate images of the format $ORGANIZATION/$PREFIX-$NAME:$TAG. The default organization is eclipse, the default tag is nightly, and the default prefix is che. You can proivde --organization:<org>, --prefix:<prefix>, or --tag:<tag> on the command line to customize the images that are generated. There is a new build-che.sh script which builds the minimum set of images to generate a new Che server, the CLI, and unit tests for these custom image names. If you build the CLI image, we overwrite /dockerfiles/cli/version/$TAG/images file to include the customized names that have been provided before this image is built, so the registry within the Docker image is accurate. Signed-off-by: Florent BENOIT <fbenoit@codenvy.com> |
||
|---|---|---|
| .. | ||
| .require | ||
| Dockerfile | ||
| README.md | ||
| build.sh | ||
README.md
Testing local or remote Eclipse Che instance with a Docker container
Build container
$ build.sh (on Unix)
Run a test
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock eclipse/che-test <name-of-test>
Get available tests
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock eclipse/che-test
Get help on a test
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock eclipse/che-test <name-of-test> --help