File tree Expand file tree Collapse file tree 5 files changed +27
-8
lines changed
Expand file tree Collapse file tree 5 files changed +27
-8
lines changed Original file line number Diff line number Diff line change @@ -42,8 +42,12 @@ RUN apt-get install -y \
4242RUN apt-get install -y \
4343 libnl-3-dev libnl-genl-3-dev libnl-route-3-dev libnl-nf-3-dev libzmq3-dev
4444
45- COPY sai.env /
45+ ARG RUST_ROOT=/usr/.cargo
46+ RUN RUSTUP_HOME=$RUST_ROOT CARGO_HOME=$RUST_ROOT bash -c 'curl --proto "=https" -sSf https://sh.rustup.rs | sh -s -- --default-toolchain 1.86.0 -y'
47+ ENV RUSTUP_HOME $RUST_ROOT
48+ ENV PATH $PATH:$RUST_ROOT/bin
4649
50+ COPY sai.env /
4751RUN git clone --recursive https://github.com/sonic-net/sonic-swss-common \
4852 && cd sonic-swss-common \
4953 && . /sai.env \
Original file line number Diff line number Diff line change @@ -42,6 +42,11 @@ RUN apt-get install -y \
4242RUN apt-get install -y \
4343 libnl-3-dev libnl-genl-3-dev libnl-route-3-dev libnl-nf-3-dev libzmq3-dev
4444
45+ ARG RUST_ROOT=/usr/.cargo
46+ RUN RUSTUP_HOME=$RUST_ROOT CARGO_HOME=$RUST_ROOT bash -c 'curl --proto "=https" -sSf https://sh.rustup.rs | sh -s -- --default-toolchain 1.86.0 -y'
47+ ENV RUSTUP_HOME $RUST_ROOT
48+ ENV PATH $PATH:$RUST_ROOT/bin
49+
4550COPY sai.env /
4651RUN git clone --recursive https://github.com/sonic-net/sonic-swss-common \
4752 && cd sonic-swss-common \
Original file line number Diff line number Diff line change @@ -40,6 +40,11 @@ RUN apt-get install -y \
4040RUN apt-get install -y \
4141 libnl-3-dev libnl-genl-3-dev libnl-route-3-dev libnl-nf-3-dev libzmq3-dev
4242
43+ ARG RUST_ROOT=/usr/.cargo
44+ RUN RUSTUP_HOME=$RUST_ROOT CARGO_HOME=$RUST_ROOT bash -c 'curl --proto "=https" -sSf https://sh.rustup.rs | sh -s -- --default-toolchain 1.86.0 -y'
45+ ENV RUSTUP_HOME $RUST_ROOT
46+ ENV PATH $PATH:$RUST_ROOT/bin
47+
4348COPY sai.env /
4449RUN git clone --recursive https://github.com/sonic-net/sonic-swss-common \
4550 && cd sonic-swss-common \
Original file line number Diff line number Diff line change @@ -40,6 +40,11 @@ RUN apt-get install -y \
4040RUN apt-get install -y \
4141 libnl-3-dev libnl-genl-3-dev libnl-route-3-dev libnl-nf-3-dev libzmq3-dev
4242
43+ ARG RUST_ROOT=/usr/.cargo
44+ RUN RUSTUP_HOME=$RUST_ROOT CARGO_HOME=$RUST_ROOT bash -c 'curl --proto "=https" -sSf https://sh.rustup.rs | sh -s -- --default-toolchain 1.86.0 -y'
45+ ENV RUSTUP_HOME $RUST_ROOT
46+ ENV PATH $PATH:$RUST_ROOT/bin
47+
4348COPY sai.env /
4449RUN git clone --recursive https://github.com/sonic-net/sonic-swss-common \
4550 && cd sonic-swss-common \
Original file line number Diff line number Diff line change 11# The sonic-swss-common and sonic-sairedis commits were taken from
2- # sonic-buildimage 202505 as of Sep 4 , 2025
2+ # sonic-buildimage master as of Sep 5 , 2025
33#
4- # https://github.com/sonic-net/sonic-buildimage/tree/1694622
4+ # https://github.com/sonic-net/sonic-buildimage/tree/59a84f5
55
6- SWSS_COMMON_ID = bcfbb21
7- SAIREDIS_ID = f32256e
6+ SWSS_COMMON_ID = e7ee75d
7+ SAIREDIS_ID = 9abdf0f
88
99# SAI version:
10- # Branch v1.16.1
11- # Apr 15 , 2025
10+ # Branch pre v1.17.0
11+ # Jul 22 , 2025
1212
13- SAI_ID = 23d8579
13+ SAI_ID = b925fc0
You can’t perform that action at this time.
0 commit comments