Fix errors in documentation
Signed-off-by: tofasthacker <tofasthacker@noreply.localhost>
This commit is contained in:
parent
e334735697
commit
ecb91712fd
@ -33,7 +33,7 @@ For cloning the repo, see [these instructions](../doc/buildAndProgram.md#clone-t
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd <project_root> # e.g. cd ./work/Pinetime
|
cd <project_root> # e.g. cd ./work/Pinetime
|
||||||
docker run --rm -it -v ${PWD}:/sources --user $(id -u):$(id -g) infinitime-build
|
docker run --rm -it -v ${PWD}:/sources --user $(id -u):$(id -g) infinitime/infinitime-build
|
||||||
```
|
```
|
||||||
|
|
||||||
By default, the container runs as `root`, which is not convenient as all the files generated by the build will also belong to `root`.
|
By default, the container runs as `root`, which is not convenient as all the files generated by the build will also belong to `root`.
|
||||||
@ -45,7 +45,7 @@ This means calling the script explicitly as it will override the `CMD`.
|
|||||||
Here's an example for `pinetime-app`:
|
Here's an example for `pinetime-app`:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run --rm -it -v ${PWD}:/sources --user $(id -u):$(id -g) infinitime-build /opt/build.sh pinetime-app
|
docker run --rm -it -v ${PWD}:/sources --user $(id -u):$(id -g) infinitime/infinitime-build /opt/build.sh pinetime-app
|
||||||
```
|
```
|
||||||
|
|
||||||
## Using the image from Docker Hub
|
## Using the image from Docker Hub
|
||||||
|
Loading…
Reference in New Issue
Block a user