Skip to content

Commit

Permalink
Perform all steps in container build
Browse files Browse the repository at this point in the history
  • Loading branch information
tsatam committed Mar 20, 2024
1 parent fe815c3 commit 5d18748
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Dockerfile.aro-azext
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ RUN pip install pytest
COPY /python /data/

WORKDIR /data/az/aro
CMD ["/bin/sh", "-c", "pytest --ignore=azext_aro/tests/latest/integration; python3 setup.py bdist_wheel"]
RUN pytest --ignore=azext_aro/tests/latest/integration
RUN python3 setup.py bdist_wheel
2 changes: 0 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ az: pyenv

azext-aro:
docker build . -f Dockerfile.aro-azext --no-cache=$(NO_CACHE) -t aro-azext:latest
mkdir -p ./python/az/aro/dist
docker run -v ./python/az/aro/dist/:/data/az/aro/dist:z aro-azext:latest

clean:
rm -rf python/az/aro/{aro.egg-info,build,dist} aro
Expand Down

0 comments on commit 5d18748

Please sign in to comment.