che-server/dockerfiles/theia
Mykola Morhun 93f495f5ed
Make theia Docker image be able to use yarn cache on Openshift (#10116)
Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
2018-06-21 09:41:27 +03:00
..
src Make theia Docker image be able to use yarn cache on Openshift (#10116) 2018-06-21 09:41:27 +03:00
Dockerfile Make theia Docker image be able to use yarn cache on Openshift (#10116) 2018-06-21 09:41:27 +03:00
README.md fix build.sh for theia image (#9850) 2018-05-29 15:28:19 +03:00
build.sh
supervisord.conf CHE-9716: Use the fixed version of Theia in eclipse/che-theia image (#9751) 2018-05-23 16:35:08 +03:00
theia-default-package.json CHE-9716: Use the fixed version of Theia in eclipse/che-theia image (#9751) 2018-05-23 16:35:08 +03:00
versions.sh CHE-9716: Use the fixed version of Theia in eclipse/che-theia image (#9751) 2018-05-23 16:35:08 +03:00

README.md

How to Build Theia Image

Build image manually

Example: using build script: ./build.sh --build-args:GITHUB_TOKEN=$GITHUB_TOKEN,THEIA_VERSION=0.3.10 --tag:0.3.10-nightly with native docker: docker build -t eclipse/che-theia:0.3.10-nightly --build-arg GITHUB_TOKEN={your token} --build-arg THEIA_VERSION=0.3.10 .

Theia version

There's a default Theia version set in the script. This version is then injected in all package.jsons. You can override THEIA_VERSION by exporting the env before running the script

GITHUB_TOKEN

Once of Theia dependencies calls GitHub API during build to download binaries. It may happen that GitHub API rate limit is exceeded. As a result build fails. It may not happen at all. If it happens, obtain GitHub API token