Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Commit

Permalink
#39 update readme file
Browse files Browse the repository at this point in the history
Signed-off-by: Yevhen Vydolob <yvydolob@redhat.com>
  • Loading branch information
evidolob committed Feb 8, 2019
1 parent 3fa78e8 commit 7001902
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,22 @@
- [dockerfiles](./dockerfiles) contains Dockerfiles
- [extensions](./extensions) contains Theia Extensions
- [plugins](./plugins) contains Theia Plugins

## How to build own che-theia image

First you need to build `che-theia-dev` image:

Run in `dockerfiles/theia-dev` dir:
```bash

This comment has been minimized.

Copy link
@benoitf

benoitf Feb 8, 2019

Contributor

I would avoid to write about GITHUB_TOKEN by default. It's only useful when there are many ppl on the same ip address.

Just ./build.sh is enough by default (and explain later about GITHUB_TOKEN). BTW I think there is an error message if not provided and github limit is thrown

./build.sh --build-arg:GITHUB_TOKEN=${GITHUB_TOKEN}
```

> `${GITHUB_TOKEN}` there is your GitHub token: [GitHub docs](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/)
Then in `dockerfiles/theia` run:

```bash
./build.sh --build-args:GITHUB_TOKEN=${GITHUB_TOKEN},THEIA_VERSION=master --branch:master --git-ref:refs\\/heads\\/master
```

That script will clone Theia from master branch and all Che related extensions from theirs master branches.

0 comments on commit 7001902

Please sign in to comment.