che-server/dockerfiles/test
Tyler Jewell 2d3e371c45 Customize image names during image build (#4336)
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>
2017-03-10 13:41:45 +01:00
..
.require Customize image names during image build (#4336) 2017-03-10 13:41:45 +01:00
Dockerfile Customize image names during image build (#4336) 2017-03-10 13:41:45 +01:00
README.md Move eclipse/che-dockerfiles che-* images to this repository in /dockerfiles folder 2016-12-01 06:10:34 -07:00
build.sh Customize image names during image build (#4336) 2017-03-10 13:41:45 +01:00

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