- Introduce Chefile data with generation and parsing : Allow to customize port number and workspace name for now - Introduce logger to get same kind of logs than with che-launcher - Fix documentation - Improve sh scripts to generate nightly or latest or be started from any directory Change-Id: I6da278cf1724fbb5a50526a7555e3059477e80fb Signed-off-by: Florent BENOIT <fbenoit@codenvy.com> |
||
|---|---|---|
| .. | ||
| src | ||
| Dockerfile | ||
| README.md | ||
| build-docker-image.sh | ||
README.md
Creating an Eclipse Che instance from a local directory
Build Docker container
$ build-docker-image.sh
Run container
Check no docker Eclipse Che container is alive and kill it if any
$ docker ps -a
Clone a folder
$ git clone https://github.com/che-samples/web-java-spring-petclinic
Go into this checkout directory
$ cd web-java-spring-petclinic
Run script
docker run -v /var/run/docker.sock:/var/run/docker.sock \
-v "$PWD":"$PWD" --rm codenvy/che-file \
$PWD <init|up>
note: if Eclipse Che is already started, it does not handle yet this state