che-server/dockerfiles/theia
Florent Benoit c91cb54fb8 Update factory plug-in
Change-Id: I402dcd9da2065f9f807b9dabffcc307902171854
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
2018-11-27 14:22:14 +01:00
..
e2e build.sh become working on Ubuntu / Linux Mint (#12004) 2018-11-21 12:37:27 +02:00
src che#11306 use 'versions.sh' from proper place (#12010) 2018-11-21 15:51:06 +02:00
.dockerignore Add e2e tests for the che/theia image 2018-09-05 11:11:12 +02:00
Dockerfile Update factory plug-in 2018-11-27 14:22:14 +01:00
README.md Use verbaccio config. (#11230) 2018-09-17 12:23:55 +03:00
build.sh build.sh become working on Ubuntu / Linux Mint (#12004) 2018-11-21 12:37:27 +02:00
pom.xml Remove redundant <version> elements. (#12023) 2018-11-25 21:17:08 +02: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=${GITHUB_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