File tree Expand file tree Collapse file tree 2 files changed +13
-15
lines changed Expand file tree Collapse file tree 2 files changed +13
-15
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11#! /usr/bin/bash
2- IMAGE_NAME=msal:latest
32
4- docker build -t $IMAGE_NAME - < Dockerfile
3+ # Error out if there is less than 1 argument
4+ if [ " $# " -lt 1 ]; then
5+ echo " Usage: $0 <Python_image> [command]"
6+ echo " Example: $0 python:3.14.0a2-slim bash"
7+ exit 1
8+ fi
59
6- echo " === Integration Test for Python 3.14 which has no AppImage yet ==="
10+ # We will get a standard Python image from the input,
11+ # so that we don't need to hard code one in a Dockerfile
12+ IMAGE_NAME=$1
13+
14+ echo " === Starting $IMAGE_NAME (especially those which have no AppImage yet) ==="
715echo " After seeing the bash prompt, run the following to test:"
16+ echo " apt update && apt install -y gcc libffi-dev # Needed in Python 3.14.0a2-slim"
817echo " pip install -e ."
918echo " pytest --capture=no -s tests/chosen_test_file.py"
1019docker run --rm -it \
1120 --privileged \
1221 -w /home -v $PWD :/home \
1322 $IMAGE_NAME \
14- $@
23+ $2
1524
You can’t perform that action at this time.
0 commit comments