From e5b9e1673c8ce45cf7de003ceef3d2a0311f7c74 Mon Sep 17 00:00:00 2001 From: QxBytes <39818795+QxBytes@users.noreply.github.com> Date: Thu, 8 Feb 2024 13:10:17 -0800 Subject: [PATCH] fix: modify cnms dockerfile with new image (#2570) * Modify cnms dockerfile with new image * Address feedback --- cnms/Dockerfile | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/cnms/Dockerfile b/cnms/Dockerfile index 9bddf134f0..ff4dc05677 100644 --- a/cnms/Dockerfile +++ b/cnms/Dockerfile @@ -1,10 +1,8 @@ -FROM sbidprod.azurecr.io/quinault:latest +FROM mcr.microsoft.com/cbl-mariner/base/core:2.0 ARG CNMS_BUILD_DIR - -RUN apt -y update -RUN apt-get -y upgrade -RUN apt install -y ebtables -RUN apt install -y net-tools -COPY $CNMS_BUILD_DIR/azure-cnms /usr/bin/azure-cnms +RUN tdnf upgrade +RUN tdnf install -y ebtables +RUN tdnf install -y net-tools +COPY output/linux_amd64/cnms/azure-cnms /usr/bin/azure-cnms RUN chmod +x /usr/bin/azure-cnms CMD ["/usr/bin/azure-cnms"]