Skip to content

Commit

Permalink
fix: modify cnms dockerfile with new image (#2570)
Browse files Browse the repository at this point in the history
* Modify cnms dockerfile with new image

* Address feedback
  • Loading branch information
QxBytes authored Feb 8, 2024
1 parent cb4eff2 commit e5b9e16
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions cnms/Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]

0 comments on commit e5b9e16

Please sign in to comment.