File tree Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change
1
+ # This file is only needed for testing Python 3.14 whose image contains no cffi.
2
+ # (As a comparison, the official python:3.13-slim works out of the box.)
3
+
4
+ # TODO: Can this Dockerfile use multi-stage build?
5
+ # https://testdriven.io/tips/6da2d9c9-8849-4386-b7f9-13b28514ded8/
6
+ FROM python:3.14.0a2-slim
7
+
8
+ RUN apt-get update && apt-get install -y \
9
+ gcc \
10
+ libffi-dev
11
+
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/bash
2
+ IMAGE_NAME=msal:latest
3
+
4
+ docker build -t $IMAGE_NAME - < Dockerfile
5
+
6
+ echo " === Integration Test for Python 3.14 which has no AppImage yet ==="
7
+ echo " After seeing the bash prompt, run the following to test:"
8
+ echo " pip install -e ."
9
+ echo " pytest --capture=no -s tests/chosen_test_file.py"
10
+ docker run --rm -it \
11
+ --privileged \
12
+ -w /home -v $PWD :/home \
13
+ $IMAGE_NAME \
14
+ $@
15
+
You can’t perform that action at this time.
0 commit comments