Skip to content

Commit

Permalink
Added package to compile and link yaml parser in C++ (#20698)
Browse files Browse the repository at this point in the history
* 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 <abdosi@microsoft.com>
  • Loading branch information
abdosi authored Nov 18, 2024
1 parent 2f94443 commit 8b5166d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sonic-slave-bookworm/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down Expand Up @@ -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
ENV PATH $PATH:$RUST_ROOT/bin

0 comments on commit 8b5166d

Please sign in to comment.