Fix errors in documentation

Signed-off-by: tofasthacker <tofasthacker@noreply.localhost>
This commit is contained in:
tofasthacker 2023-09-22 13:02:40 +00:00
parent e334735697
commit ecb91712fd

View File

@ -33,7 +33,7 @@ For cloning the repo, see [these instructions](../doc/buildAndProgram.md#clone-t
```bash
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`.
@ -45,7 +45,7 @@ This means calling the script explicitly as it will override the `CMD`.
Here's an example for `pinetime-app`:
```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