2021-10-31 16:35:33 +01:00
|
|
|
## Building using the Dockerfile
|
|
|
|
|
|
|
|
It's possible to use a docker image for building. This way you don't need anything installed on your host system.
|
|
|
|
|
|
|
|
```
|
|
|
|
# Build docker image (only needed once)
|
2021-10-31 16:39:45 +01:00
|
|
|
docker build . -t usbserialloggermodule-builder
|
2021-10-31 16:35:33 +01:00
|
|
|
|
|
|
|
# make
|
2021-10-31 16:39:45 +01:00
|
|
|
docker run -it --rm -v ${PWD}:/project usbserialloggermodule-builder make
|
2021-10-31 16:35:33 +01:00
|
|
|
|
|
|
|
# make clean
|
2021-10-31 16:39:45 +01:00
|
|
|
docker run -it --rm -v ${PWD}:/project usbserialloggermodule-builder make clean
|
2021-10-31 16:35:33 +01:00
|
|
|
```
|