Files
gns3-gui/Dockerfile

17 lines
481 B
Docker
Raw Normal View History

2020-06-26 20:50:48 +09:30
# Run tests inside a container
FROM ubuntu:latest
2020-06-26 20:50:48 +09:30
MAINTAINER GNS3 Team
RUN apt-get update
2026-04-11 17:37:04 +08:00
RUN apt-get install -y --force-yes python3 python3-pyqt6 python3-pip python3-pyqt6.qtsvg python3-pyqt6.qtwebsockets python3-dev xvfb
2020-06-26 20:50:48 +09:30
RUN apt-get clean
ADD dev-requirements.txt /dev-requirements.txt
ADD requirements.txt /requirements.txt
2024-05-15 17:19:54 +07:00
RUN python3 -m pip install --break-system-packages --no-cache-dir -r /dev-requirements.txt
2020-06-26 20:50:48 +09:30
ADD . /src
WORKDIR /src
CMD xvfb-run python3 -m pytest -vv