Skip to content

Commit e5b9e16

Browse files
authored
fix: modify cnms dockerfile with new image (#2570)
* Modify cnms dockerfile with new image * Address feedback
1 parent cb4eff2 commit e5b9e16

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

cnms/Dockerfile

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
FROM sbidprod.azurecr.io/quinault:latest
1+
FROM mcr.microsoft.com/cbl-mariner/base/core:2.0
22
ARG CNMS_BUILD_DIR
3-
4-
RUN apt -y update
5-
RUN apt-get -y upgrade
6-
RUN apt install -y ebtables
7-
RUN apt install -y net-tools
8-
COPY $CNMS_BUILD_DIR/azure-cnms /usr/bin/azure-cnms
3+
RUN tdnf upgrade
4+
RUN tdnf install -y ebtables
5+
RUN tdnf install -y net-tools
6+
COPY output/linux_amd64/cnms/azure-cnms /usr/bin/azure-cnms
97
RUN chmod +x /usr/bin/azure-cnms
108
CMD ["/usr/bin/azure-cnms"]

0 commit comments

Comments
 (0)