diff --git a/.buildbot/tox/Dockerfile b/.buildbot/tox/Dockerfile new file mode 100644 index 00000000..931bc0f7 --- /dev/null +++ b/.buildbot/tox/Dockerfile @@ -0,0 +1,18 @@ +FROM ubuntu:bionic AS tox + +RUN apt-get update + +# Common apt packages +RUN apt-get install -yq --no-install-suggests --no-install-recommends \ + software-properties-common build-essential libcap-dev libssl-dev \ + python-all-dev python-setuptools wget xvfb language-pack-en \ + libffi-dev python3-dev python3-pip python3.8 python3.8-dev python3.8-venv \ + python-msgpack python-pip python-qt4 python-six qtbase5-dev qt5-default \ + tor + +RUN python3.8 -m pip install setuptools wheel +RUN python3.8 -m pip install --upgrade pip tox virtualenv + +ENV LANG en_US.UTF-8 +ENV LANGUAGE en_US:en +ENV LC_ALL en_US.UTF-8 diff --git a/.buildbot/tox/test.sh b/.buildbot/tox/test.sh new file mode 100755 index 00000000..f57f61e5 --- /dev/null +++ b/.buildbot/tox/test.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +tox