From cb3775c75506aee8038b3cfa98716337820802d0 Mon Sep 17 00:00:00 2001 From: Lars Eggert Date: Tue, 15 Oct 2024 13:25:34 +0200 Subject: [PATCH] fix: Build QNS docker image with debug symbols So panic stack traces are useful. --- qns/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qns/Dockerfile b/qns/Dockerfile index 66ab75d79..60eeaa8e6 100644 --- a/qns/Dockerfile +++ b/qns/Dockerfile @@ -33,7 +33,7 @@ RUN cargo chef cook --release --recipe-path recipe.json ADD . /neqo RUN set -eux; \ cd /neqo; \ - cargo build --release --bin neqo-client --bin neqo-server + CARGO_PROFILE_RELEASE_DEBUG=true cargo build --release --bin neqo-client --bin neqo-server # Copy only binaries to the final image to keep it small.