PlatformIO Docker

This commit is contained in:
iranl
2024-04-28 21:51:22 +02:00
parent a6cb6c10dc
commit 96c3932917
11 changed files with 285 additions and 33 deletions

View File

@@ -1,10 +1,21 @@
# Build with Docker
# Build with Docker
You can build this project using Docker. Just run the following commands in the console:
## Build with PlatformIO (will build for the ESP32, ESP32-S3, ESP32-C3 and ESP32-solo1)
```console
cd Docker
./build_with_docker.sh
git clone https://github.com/technyon/nuki_hub --recursive
cd nuki_hub/Docker
./build_with_docker_pio.sh
```
once the script is complete you will find the nuki_nub binary in the `nuki_hub/build/release` folder.
once the script is complete you will find the nuki_hub binaries in the `nuki_hub/build_pio` folder.
## Build with CMake (will only build for the ESP32)
```console
git clone https://github.com/technyon/nuki_hub --recursive
cd nuki_hub/Docker
./build_with_docker_cmake.sh
```
once the script is complete you will find the nuki_hub binary in the `nuki_hub/build_cmake` folder.