From 0310f8975a0f69383cd9ed56efb0ea7ed36ba6f6 Mon Sep 17 00:00:00 2001 From: Saikrishna Arcot Date: Wed, 2 Feb 2022 11:11:52 -0800 Subject: [PATCH] Upgrade restapi docker to Buster Signed-off-by: Saikrishna Arcot --- dockers/docker-sonic-restapi/Dockerfile.j2 | 2 +- rules/docker-restapi.mk | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/dockers/docker-sonic-restapi/Dockerfile.j2 b/dockers/docker-sonic-restapi/Dockerfile.j2 index 837796e66d82..0b43a0ef5d25 100644 --- a/dockers/docker-sonic-restapi/Dockerfile.j2 +++ b/dockers/docker-sonic-restapi/Dockerfile.j2 @@ -1,5 +1,5 @@ {% from "dockers/dockerfile-macros.j2" import install_debian_packages, install_python_wheels, copy_files %} -FROM docker-config-engine-stretch +FROM docker-config-engine-buster ARG docker_container_name RUN [ -f /etc/rsyslog.conf ] && sed -ri "s/%syslogtag%/$docker_container_name#%syslogtag%/;" /etc/rsyslog.conf diff --git a/rules/docker-restapi.mk b/rules/docker-restapi.mk index 98f43b2395b7..b9e8c1230fcf 100644 --- a/rules/docker-restapi.mk +++ b/rules/docker-restapi.mk @@ -8,11 +8,10 @@ $(DOCKER_RESTAPI)_DEPENDS += $(LIBHIREDIS) $(LIBNL3) $(LIBNL_GENL3) \ $(DOCKER_RESTAPI)_PATH = $(DOCKERS_PATH)/$(DOCKER_RESTAPI_STEM) -$(DOCKER_RESTAPI)_LOAD_DOCKERS += $(DOCKER_CONFIG_ENGINE_STRETCH) +$(DOCKER_RESTAPI)_LOAD_DOCKERS += $(DOCKER_CONFIG_ENGINE_BUSTER) ifeq ($(INCLUDE_RESTAPI), y) SONIC_DOCKER_IMAGES += $(DOCKER_RESTAPI) -SONIC_STRETCH_DOCKERS += $(DOCKER_RESTAPI) SONIC_INSTALL_DOCKER_IMAGES += $(DOCKER_RESTAPI) endif