2024-09-19 21:28:21 +00:00
|
|
|
#
|
|
|
|
# Copyright (c) 2021-2024 Ad5001
|
|
|
|
#
|
|
|
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
|
# SOFTWARE.
|
|
|
|
#
|
2024-09-18 16:26:15 +00:00
|
|
|
FROM ubuntu:noble
|
2023-05-23 03:46:30 +00:00
|
|
|
|
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
2024-10-01 20:38:44 +00:00
|
|
|
ARG PYSIDE_VERSION
|
2023-05-23 03:46:30 +00:00
|
|
|
|
|
|
|
ENV TZ=Europe/Paris
|
|
|
|
RUN apt-get update
|
2024-09-19 19:30:53 +00:00
|
|
|
RUN apt-get upgrade -y
|
2024-09-19 17:03:32 +00:00
|
|
|
RUN apt-get -y install make git rpm dh-python \
|
2024-09-19 21:28:21 +00:00
|
|
|
xvfb xdotool wmctrl libxcb-cursor0 \
|
2024-09-19 17:41:06 +00:00
|
|
|
python3 python3-pip python3-stdeb python3-requests python3-packaging python3-pip python3-pytest python3-pytest-cov python3-pytestqt
|
2024-09-18 16:26:15 +00:00
|
|
|
RUN rm /usr/lib/python3.*/EXTERNALLY-MANAGED # Disable managed environment. We don't care about breaking system packages here.
|
2024-09-19 19:30:53 +00:00
|
|
|
RUN python3 -m pip install -U setuptools # Upgrading packages that need fixes.
|
2024-09-19 23:05:08 +00:00
|
|
|
RUN python3 -m pip install PySide6==$PYSIDE_VERSION
|
2023-05-23 03:46:30 +00:00
|
|
|
RUN apt clean
|