tests/tools/Docker/build_docker_image.sh
author Edouard Tisserant <edouard@beremiz.fr>
Wed, 13 Nov 2024 14:42:34 +0100
changeset 4049 80fc760d4a4a
parent 3841 02fa0f8484d7
permissions -rwxr-xr-x
Modbus: allows modbus thread stack size customization with MODBUS_STACK_SIZE macro.

For example, add "-DMODBUS_STACK_SIZE=0x2000" to target CFLAGS to limit stack size to 128kB
#!/bin/bash

set -e

echo "Building docker image"
cp -f ../../../requirements.txt requirements.txt
docker build \
    --build-arg UID=$(id -u) \
    --build-arg GID=$(id -g) \
    -t beremiz_sikuli .