Skip to content

Commit 0fc6bc2

Browse files
author
Stepan Blyschak
committed
[dockers] Upgrade Mellanox syncd docker to stretch
Signed-off-by: Stepan Blyschak <[email protected]>
1 parent 3086f4f commit 0fc6bc2

File tree

5 files changed

+8
-4
lines changed

5 files changed

+8
-4
lines changed

platform/mellanox/docker-syncd-mlnx-rpc.mk

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ $(DOCKER_SYNCD_MLNX_RPC)_LOAD_DOCKERS += $(DOCKER_SYNCD_MLNX)
88
SONIC_DOCKER_IMAGES += $(DOCKER_SYNCD_MLNX_RPC)
99
ifeq ($(ENABLE_SYNCD_RPC),y)
1010
SONIC_INSTALL_DOCKER_IMAGES += $(DOCKER_SYNCD_MLNX_RPC)
11+
SONIC_STRETCH_DOCKERS += $(DOCKER_SYNCD_MLNX_RPC)
1112
endif
1213

1314
$(DOCKER_SYNCD_MLNX_RPC)_CONTAINER_NAME = syncd

platform/mellanox/docker-syncd-mlnx.mk

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ DOCKER_SYNCD_MLNX = docker-syncd-mlnx.gz
44
$(DOCKER_SYNCD_MLNX)_PATH = $(PLATFORM_PATH)/docker-syncd-mlnx
55
$(DOCKER_SYNCD_MLNX)_DEPENDS += $(SYNCD) $(PYTHON_SDK_API)
66
$(DOCKER_SYNCD_MLNX)_PYTHON_DEBS += $(MLNX_SFPD)
7-
$(DOCKER_SYNCD_MLNX)_LOAD_DOCKERS += $(DOCKER_CONFIG_ENGINE)
7+
$(DOCKER_SYNCD_MLNX)_LOAD_DOCKERS += $(DOCKER_CONFIG_ENGINE_STRETCH)
88
SONIC_DOCKER_IMAGES += $(DOCKER_SYNCD_MLNX)
99
ifneq ($(ENABLE_SYNCD_RPC),y)
1010
SONIC_INSTALL_DOCKER_IMAGES += $(DOCKER_SYNCD_MLNX)
11+
SONIC_STRETCH_DOCKERS += $(DOCKER_SYNCD_MLNX)
1112
endif
1213

1314
$(DOCKER_SYNCD_MLNX)_CONTAINER_NAME = syncd

platform/mellanox/docker-syncd-mlnx/Dockerfile.j2

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM docker-config-engine
1+
FROM docker-config-engine-stretch
22

33
ARG docker_container_name
44
RUN [ -f /etc/rsyslog.conf ] && sed -ri "s/%syslogtag%/$docker_container_name#%syslogtag%/;" /etc/rsyslog.conf

sonic-slave-stretch/Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,6 @@ RUN apt-get update && apt-get install -y \
168168
python-parse \
169169
# For snmpd
170170
default-libmysqlclient-dev \
171-
libssl1.0-dev \
172171
libperl-dev \
173172
libpci-dev \
174173
libpci3 \
@@ -255,6 +254,9 @@ EXPOSE 22
255254
RUN git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git /usr/share/depot_tools
256255
ENV PATH /usr/share/depot_tools:$PATH
257256

257+
# For thrift build
258+
RUN apt-get install -y libssl1.0-dev
259+
258260
# Install docker engine 17.03.2~ce-0 inside docker and enable experimental feature
259261
RUN apt-get update
260262
RUN apt-get install -y \

src/sonic-sairedis

0 commit comments

Comments
 (0)