Skip to content

Commit 4c46425

Browse files
Install DASH dependencies in sonic-mgmt container (sonic-net#21676)
Install DASH dependencies in sonic-mgmt container
1 parent 822469f commit 4c46425

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

dockers/docker-sonic-mgmt/Dockerfile.j2

+5-5
Original file line numberDiff line numberDiff line change
@@ -209,11 +209,6 @@ RUN mkdir -p /etc/apt/keyrings \
209209
&& echo "deb [arch=`dpkg --print-architecture` signed-by=/etc/apt/keyrings/microsoft.gpg] https://packages.microsoft.com/repos/azure-cli/ `lsb_release -cs` main" | tee /etc/apt/sources.list.d/azure-cli.list \
210210
&& apt-get update && apt-get install -y azure-cli
211211

212-
## Copy and install sonic-mgmt docker dependencies
213-
COPY debs/sonic-device-data_*.deb debs/libdashapi_*.deb debs/
214-
215-
RUN dpkg -i debs/sonic-device-data_*.deb debs/libdashapi_*.deb
216-
217212
# Install protobuf 3.21.12 which is from https://deb.debian.org/debian/pool/main/p/protobuf/protobuf_3.21.12-3.dsc
218213
RUN mkdir -p /tmp/protobuf \
219214
&& cd /tmp/protobuf \
@@ -227,6 +222,11 @@ RUN mkdir -p /tmp/protobuf \
227222
&& dpkg -i *.deb \
228223
&& rm -rf /tmp/protobuf
229224

225+
## Copy and install sonic-mgmt docker dependencies
226+
COPY debs/sonic-device-data_*.deb debs/libdashapi_*.deb debs/
227+
228+
RUN dpkg -i debs/sonic-device-data_*.deb debs/libdashapi_*.deb
229+
230230
RUN mkdir /var/run/sshd
231231
EXPOSE 22
232232

0 commit comments

Comments
 (0)