From ef09c048ab67ccfadcf7032d8ef6ba649f2e2d40 Mon Sep 17 00:00:00 2001 From: Xavier Vello Date: Mon, 11 Dec 2023 16:40:05 +0100 Subject: [PATCH] release: ship debug symbols in image for continuous profiling --- .dockerignore | 1 + Cargo.toml | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..eb5a316 --- /dev/null +++ b/.dockerignore @@ -0,0 +1 @@ +target diff --git a/Cargo.toml b/Cargo.toml index 983cbf2..75d8dfa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,6 +6,10 @@ members = [ "capture-server" ] + +[profile.release] +debug = 2 + [workspace.dependencies] assert-json-diff = "2.0.2" axum = "0.6.15"