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"]