From 63a0c1fef4ffab605e75af5cb5e1ec511ea3550d Mon Sep 17 00:00:00 2001 From: Michal Rostecki Date: Thu, 10 Feb 2022 16:36:56 +0000 Subject: [PATCH] docker: Add missing packages for rust-{gdb,lldb} debuggers rust-gdb and rust-lldb binaries are shipped in rust package. And both of them need also python3-lldb to work. Signed-off-by: Michal Rostecki --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index cfc511d..944426e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -52,7 +52,8 @@ RUN zypper --non-interactive install \ libselinux1 \ && zypper clean ARG profile=release -RUN if [[ "$profile" == "debug" ]]; then zypper --non-interactive install gdb lldb; fi +# Install rust-gdb and rust-lldb for debug profile +RUN if [[ "$profile" == "debug" ]]; then zypper --non-interactive install gdb lldb python3-lldb rust; fi COPY --from=build /usr/local/src/linux/tools/bpf/bpftool/bpftool /usr/sbin/bpftool COPY --from=build /usr/local/src/lockc/target/${profile}/lockcd /usr/bin/lockcd ENTRYPOINT ["/usr/bin/lockcd"]