Skip to content

Commit

Permalink
Add 'final' stage to azext-aro using Azure CLI container with extensi…
Browse files Browse the repository at this point in the history
…on installed
  • Loading branch information
tsatam committed Jun 5, 2024
1 parent 147ee37 commit c2d1aaa
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile.ci-azext-aro
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
FROM mcr.microsoft.com/azure-cli:2.58.0
FROM mcr.microsoft.com/azure-cli:2.61.0 AS builder

RUN pip install pytest
COPY /python /data/

WORKDIR /data/az/aro
RUN pytest --ignore=azext_aro/tests/latest/integration
RUN python3 setup.py bdist_wheel

FROM mcr.microsoft.com/azure-cli:2.61.0-cbl-mariner2.0 AS final
COPY --from=builder /data/az/aro/dist /opt/az
RUN az extension add --yes --source /opt/az/aro-*-py2.py3-none-any.whl

0 comments on commit c2d1aaa

Please sign in to comment.