mirror of
https://github.com/keymanapp/keyman.git
synced 2026-10-18 11:57:38 +00:00
Merge pull request #7960 from keymanapp/feat/linux/docker2
docs(linux): document fullbuild using docker
This commit is contained in:
commit
b2a983fa97
1 changed files with 15 additions and 0 deletions
15
docs/build/linux-ubuntu.md
vendored
15
docs/build/linux-ubuntu.md
vendored
|
|
@ -78,9 +78,24 @@ docker build . -t keymanapp/keyman-linux-builder:latest
|
|||
|
||||
Once the image is built, it may be used to build parts of Keyman.
|
||||
|
||||
- core
|
||||
|
||||
```shell
|
||||
# build 'core' in docker
|
||||
cd ../core
|
||||
# keep linux build artifacts separate
|
||||
mkdir -p build/linux
|
||||
docker run -it --rm -v $(pwd)/..:/home/build -v $(pwd)/build/linux:/home/build/core/build keyman-linux-builder:latest bash -c 'cd core; bash build.sh -d'
|
||||
```
|
||||
|
||||
- linux
|
||||
|
||||
```shell
|
||||
# build 'linux' installation in docker
|
||||
# runs as root!
|
||||
# note: run 'git clean -fdx linux' afterwards to cleanup
|
||||
cd keymanapp/keyman
|
||||
docker run -it --rm -v $(pwd):/home/build/src/keyman -u root -w /home/build/src/keyman keymanapp/keyman-linux-builder:latest bash -c "cd linux && make reconf && make fullbuild && make install"
|
||||
```
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue