From 95db8c94d96758f974e88716cc8b2e2bd849a6d2 Mon Sep 17 00:00:00 2001 From: marco morais <93558171+marcoemorais-aws@users.noreply.github.com> Date: Wed, 2 Aug 2023 17:02:16 -0700 Subject: [PATCH] Compile device client binaries as Release build type (#422) --- .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 754b7d145..bd9a1dce0 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"]