Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions dropgz/build/cni.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
FROM mcr.microsoft.com/cbl-mariner/base/core:2.0 AS certs
RUN tdnf upgrade -y && tdnf install -y ca-certificates

FROM mcr.microsoft.com/cbl-mariner/base/core:2.0 AS tar
RUN tdnf install -y tar
RUN tdnf upgrade -y && tdnf install -y ca-certificates

FROM tar AS azure-ipam
ARG VERSION
ARG OS
ARG ARCH
WORKDIR /azure-ipam
COPY ./azure-ipam .
COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
RUN curl -LO --cacert /etc/ssl/certs/ca-certificates.crt https://github.com/Azure/azure-container-networking/releases/download/azure-ipam%2Fv0.0.3/azure-ipam-$OS-$ARCH-v0.0.3.tgz && tar -xvf azure-ipam-$OS-$ARCH-v0.0.3.tgz

FROM tar AS azure-vnet
Expand All @@ -19,7 +16,6 @@ ARG OS
ARG ARCH
WORKDIR /azure-container-networking
COPY . .
COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
RUN curl -LO --cacert /etc/ssl/certs/ca-certificates.crt https://github.com/Azure/azure-container-networking/releases/download/v1.4.29/azure-vnet-cni-swift-$OS-$ARCH-v1.4.29.tgz && tar -xvf azure-vnet-cni-swift-$OS-$ARCH-v1.4.29.tgz

FROM mcr.microsoft.com/cbl-mariner/base/core:2.0 AS compressor
Expand Down