File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1616env :
1717 # https://github.com/pytest-dev/pytest/issues/2042
1818 PY_IGNORE_IMPORTMISMATCH : " 1"
19- # allow tests to run headless
2019 ENV QT_QPA_PLATFORM : offscreen
2120
2221jobs :
Original file line number Diff line number Diff line change 11# The devcontainer should use the developer target and run as root with podman
22# or docker with user namespaces.
33ARG PYTHON_VERSION=3.11
4- FROM python:${PYTHON_VERSION} as developer
4+ FROM python:${PYTHON_VERSION} as system
55
6- # Add any system dependencies for the developer/build environment here
6+ # Add any system dependencies for developer and runtime targets
77RUN apt-get update && apt-get install -y --no-install-recommends \
88 graphviz \
99 libqt5gui5 libxcb-xinerama0 \
1010 && rm -rf /var/lib/apt/lists/*
1111
12+ FROM system as developer
13+
1214# Set up a virtual environment and put it in PATH
1315RUN python -m venv /venv
1416ENV PATH=/venv/bin:$PATH
You can’t perform that action at this time.
0 commit comments