Skip to content

Commit

Permalink
Changed docker-syncd-mlnx docker-saiserver-mlnx dependencies to use l…
Browse files Browse the repository at this point in the history
…ibnl provided by build system instead of sx-libnl. (#26)
  • Loading branch information
oleksandrivantsiv authored and qiluo-msft committed Oct 5, 2016
1 parent 94ae04d commit 28fa109
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
8 changes: 5 additions & 3 deletions dockers/docker-saiserver-mlnx/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM docker-base

RUN apt-get update

COPY ["deps/applibs_*.deb", "/deps/applibs-dev_*.deb", "/deps/sx-complib_*.deb", "/deps/sxd-libs_*.deb", "/deps/sx-scew_*.deb", "/deps/sx-examples_*.deb", "/deps/sx-gen-utils_*.deb", "/deps/python-sdk-api_*.deb", "/deps/sx-libnl_*.deb", "/deps/iproute2_*.deb", "/deps/mlnx-sai_*.deb", "/deps/libthrift-0.9.2_*.deb", "/deps/"]
COPY ["deps/applibs_*.deb", "/deps/applibs-dev_*.deb", "/deps/sx-complib_*.deb", "/deps/sxd-libs_*.deb", "/deps/sx-scew_*.deb", "/deps/sx-examples_*.deb", "/deps/sx-gen-utils_*.deb", "/deps/python-sdk-api_*.deb", "/deps/iproute2_*.deb", "/deps/mlnx-sai_*.deb", "/deps/libthrift-0.9.2_*.deb", "/deps/libnl-3-200_*.deb", "/deps/libnl-genl-3-200_*.deb", "/deps/libnl-route-3-200_*.deb", "/deps/"]

RUN dpkg_apt() { [ -f $1 ] && { dpkg -i $1 || apt-get -y install -f; } || return 1; }; \
dpkg_apt /deps/applibs_*.deb \
Expand All @@ -13,10 +13,12 @@ RUN dpkg_apt() { [ -f $1 ] && { dpkg -i $1 || apt-get -y install -f; } || return
&& dpkg_apt /deps/sx-examples_*.deb \
&& dpkg_apt /deps/sx-gen-utils_*.deb \
&& dpkg_apt /deps/python-sdk-api_*.deb \
&& dpkg_apt /deps/sx-libnl_*.deb \
&& dpkg_apt /deps/iproute2_*.deb \
&& dpkg_apt /deps/mlnx-sai_*.deb \
&& dpkg_apt /deps/libthrift-0.9.2_*.deb
&& dpkg_apt /deps/libthrift-0.9.2_*.deb \
&& dpkg_apt /deps/libnl-3-200_*.deb \
&& dpkg_apt /deps/libnl-genl-3-200_*.deb \
&& dpkg_apt /deps/libnl-route-3-200_*.deb

COPY ["deps/saiserver", "start.sh", "/usr/bin/"]

Expand Down
1 change: 0 additions & 1 deletion dockers/docker-syncd-mlnx/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ RUN dpkg_apt() { [ -f $1 ] && { dpkg -i $1 || apt-get -y install -f; } || return
&& dpkg_apt /deps/sx-examples_*.deb \
&& dpkg_apt /deps/sx-gen-utils_*.deb \
&& dpkg_apt /deps/python-sdk-api_*.deb \
&& dpkg_apt /deps/sx-libnl_*.deb \
&& dpkg_apt /deps/iproute2_*.deb \
&& dpkg_apt /deps/mft*.deb \

Expand Down
3 changes: 0 additions & 3 deletions src/mlnx-sdk/filelist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ sx-gen-utils-dev_1.mlnx.4.2.2100_amd64.deb
sx-gen-utils_1.mlnx.4.2.2100_amd64.deb
sx-kernel-dev_1.mlnx.4.2.2100_amd64.deb
sx-kernel_1.mlnx.4.2.2100_amd64.deb
sx-libnl-dev-static_1.mlnx.4.2.2100_amd64.deb
sx-libnl-dev_1.mlnx.4.2.2100_amd64.deb
sx-libnl_1.mlnx.4.2.2100_amd64.deb
sx-scew-dev-static_1.mlnx.4.2.2100_amd64.deb
sx-scew-dev_1.mlnx.4.2.2100_amd64.deb
sx-scew_1.mlnx.4.2.2100_amd64.deb
Expand Down

0 comments on commit 28fa109

Please sign in to comment.