From 8b5166dcb08ae7904f267718a978f2a30b3358f2 Mon Sep 17 00:00:00 2001 From: abdosi <58047199+abdosi@users.noreply.github.com> Date: Sun, 17 Nov 2024 18:59:23 -0800 Subject: [PATCH] Added package to compile and link yaml parser in C++ (#20698) * Added package to compile and link yaml parser in C++ * Update Dockerfile.j2 To compile and link changes done in PR: sonic-net/sonic-swss#3353 --------- Signed-off-by: Abhishek Dosi --- sonic-slave-bookworm/Dockerfile.j2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sonic-slave-bookworm/Dockerfile.j2 b/sonic-slave-bookworm/Dockerfile.j2 index 145ba7d0a0d9..e2fc37801217 100644 --- a/sonic-slave-bookworm/Dockerfile.j2 +++ b/sonic-slave-bookworm/Dockerfile.j2 @@ -117,6 +117,7 @@ RUN apt-get update && apt-get install -y eatmydata && eatmydata apt-get install libswitch-perl \ libzmq5 \ libzmq3-dev \ + libyaml-cpp-dev \ uuid-dev \ jq \ cron \ @@ -752,4 +753,4 @@ RUN mkdir -p /.cargo && $RUST_ROOT/bin/rustup target add armv7-unknown-linux-gnu RUN mkdir -p /.cargo && $RUST_ROOT/bin/rustup target add aarch64-unknown-linux-gnu && echo "[target.aarch64-unknown-linux-gnu]\nlinker = \"aarch64-linux-gnu-gcc\"" >> /.cargo/config.toml {% endif -%} ENV RUSTUP_HOME $RUST_ROOT -ENV PATH $PATH:$RUST_ROOT/bin \ No newline at end of file +ENV PATH $PATH:$RUST_ROOT/bin