mirror of
https://github.com/GNS3/gns3-gui.git
synced 2026-05-17 00:46:01 +03:00
23 lines
451 B
Docker
23 lines
451 B
Docker
# Run tests inside a container
|
|
FROM ubuntu:vivid
|
|
|
|
MAINTAINER GNS3 Team
|
|
|
|
#ENV DEBIAN_FRONTEND noninteractive
|
|
|
|
RUN apt-get update
|
|
RUN apt-get install -y --force-yes python3.4 python3-pyqt5 python3-pip python3-pyqt5.qtsvg python3.4-dev xvfb
|
|
RUN apt-get clean
|
|
|
|
|
|
ADD dev-requirements.txt /dev-requirements.txt
|
|
ADD requirements.txt /requirements.txt
|
|
RUN pip3 install -r /dev-requirements.txt
|
|
|
|
|
|
ADD . /src
|
|
|
|
WORKDIR /src
|
|
|
|
CMD xvfb-run python3.4 -m pytest -vv
|