From a4e1427b9545d3ae59f96711496055b683da32ea Mon Sep 17 00:00:00 2001 From: Marco Morais Date: Wed, 2 Aug 2023 14:53:12 -0700 Subject: [PATCH] Compile device client binaries as Release build type --- .github/docker-images/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/docker-images/Dockerfile b/.github/docker-images/Dockerfile index 754b7d14..bd9a1dce 100644 --- a/.github/docker-images/Dockerfile +++ b/.github/docker-images/Dockerfile @@ -9,7 +9,7 @@ FROM ${BASE_IMAGE} AS deploy COPY . /root/aws-iot-device-client RUN mkdir -p /root/aws-iot-device-client/build \ && cd /root/aws-iot-device-client/build \ - && cmake .. \ + && cmake -DCMAKE_BUILD_TYPE=Release .. \ && cmake --build . --target aws-iot-device-client ENTRYPOINT ["/root/aws-iot-device-client/build/aws-iot-device-client"]