summaryrefslogtreecommitdiff
path: root/doc/buildWithDocker.md
diff options
context:
space:
mode:
authorJF <jf@codingfield.com>2020-08-19 21:52:46 +0200
committerJF <jf@codingfield.com>2020-08-19 21:52:46 +0200
commitf197a3fe883cb7ebc028d4cfab199a4d998b125a (patch)
treeee027cc0e3e7f8fe0f030217f3b81af80c835081 /doc/buildWithDocker.md
parent38418931f1ee46e5405d48fcee18005b6ab4c4c7 (diff)
All output files (bin, hex, image, dfu) contain the version of the project in their filename.
Update Docker build script accordingly. Also fix permission issue with docker build (all files belonged to root).
Diffstat (limited to 'doc/buildWithDocker.md')
-rw-r--r--doc/buildWithDocker.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/buildWithDocker.md b/doc/buildWithDocker.md
index 5101c95c..705c6d99 100644
--- a/doc/buildWithDocker.md
+++ b/doc/buildWithDocker.md
@@ -6,12 +6,12 @@ The image is not (yet) available on DockerHub, you need to build it yourself, wh
If you are running on a x86_64 computer :
```
-docker image build -t infinitime-build docker/x86_64/
+docker image build -t infinitime-build --build-arg USER_ID=$(id -u) --build-arg GROUP_ID=$(id -g) docker/x86_64/
```
And if your are running on an ARM64 device (tested on RaspberryPi4 and Pine64 PineBookPro):
```
-docker image build -t infinitime-build docker/arm64/
+docker image build -t infinitime-build --build-arg USER_ID=$(id -u) --build-arg GROUP_ID=$(id -g) docker/arm64/
```
This operation will take some time. It builds a Docker image based on Ubuntu, install some packages, download the ARM toolchain, the NRF SDK, MCUBoot and adafruit-nrfutil.