Skip to content

Commit f94df72

Browse files
committed
Remove Dockerfile with 3rd party docker image
1 parent 29c9d86 commit f94df72

File tree

2 files changed

+13
-15
lines changed

2 files changed

+13
-15
lines changed

Dockerfile

Lines changed: 0 additions & 11 deletions
This file was deleted.

docker_run.sh

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,24 @@
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) ==="
715
echo "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"
817
echo " pip install -e ."
918
echo " pytest --capture=no -s tests/chosen_test_file.py"
1019
docker run --rm -it \
1120
--privileged \
1221
-w /home -v $PWD:/home \
1322
$IMAGE_NAME \
14-
$@
23+
$2
1524

0 commit comments

Comments
 (0)