This commit is contained in:
Siby George 2024-06-17 20:25:41 +00:00
Родитель ea8ae97e34
Коммит 416aa2e196
2 изменённых файлов: 5 добавлений и 2 удалений

Просмотреть файл

@ -1,5 +1,7 @@
ARG acr_version=0.11
FROM mcr.microsoft.com/acr/acr-cli:$acr_version as build
ARG oras_version=1.2.0
FROM ghcr.io/oras-project/oras:v${oras_version} as oras
FROM mcr.microsoft.com/acr/acr-cli:${acr_version} as build
ARG copa_version=0.6.2
ARG trivy_version=0.51.4
RUN tdnf check-update \
@ -12,6 +14,7 @@ RUN curl --retry 5 -fsSL -o copa.tar.gz https://github.com/project-copacetic/cop
RUN cp /usr/bin/acr /tmp/bin/
COPY docker-entrypoint.sh /tmp/bin/
RUN chmod +x /tmp/bin/docker-entrypoint.sh
COPY --from=oras /bin/oras /tmp/bin/
FROM mcr.microsoft.com/cbl-mariner/base/core:2.0
LABEL maintainer=acr-feedback@microsoft.com

Просмотреть файл

@ -1,6 +1,6 @@
# cssc
This image is for cssc workflow commands and contains acr, trivy and copa
This image is for cssc workflow commands and contains acr, oras, trivy and copa
## Building