diff --git a/platform/vs/docker-dash-engine/Dockerfile.j2 b/platform/vs/docker-dash-engine/Dockerfile.j2 index 6fa6585567..8d55dffd9f 100644 --- a/platform/vs/docker-dash-engine/Dockerfile.j2 +++ b/platform/vs/docker-dash-engine/Dockerfile.j2 @@ -13,7 +13,7 @@ RUN sed -i 's|http://.*.ubuntu.com|http://azure.archive.ubuntu.com|g' /etc/apt/s RUN apt-get update RUN apt-get install -f -y net-tools supervisor rsyslog python3-pip -RUN pip3 install supervisord-dependent-startup +RUN pip3 install --break-system-packages supervisord-dependent-startup || pip3 install supervisord-dependent-startup COPY ["start.sh", "/usr/bin/"] diff --git a/scripts/docker_version_control.sh b/scripts/docker_version_control.sh index 549dc30f6e..eab6556f97 100755 --- a/scripts/docker_version_control.sh +++ b/scripts/docker_version_control.sh @@ -27,7 +27,7 @@ tag=`echo $image_tag | cut -f2 -d:` if [[ ",$SONIC_VERSION_CONTROL_COMPONENTS," == *,all,* ]] || [[ ",$SONIC_VERSION_CONTROL_COMPONENTS," == *,docker,* ]]; then # if docker image not in white list, exit - if [[ "$image_tag" != */debian:* ]] && [[ "$image_tag" != debian:* ]] && [[ "$image_tag" != multiarch/debian-debootstrap:* ]];then + if [[ "$image_tag" != */debian:* ]] && [[ "$image_tag" != debian:* ]] && [[ "$image_tag" != multiarch/debian-debootstrap:* ]] && [[ "$image_tag" != *p4lang/behavioral-model:* ]];then exit 0 fi if [ -f $version_file ];then