From 854aa523a561be2662ba802eef2ca8535bd07903 Mon Sep 17 00:00:00 2001 From: Dmitri Bogomolov <4glitch@gmail.com> Date: Wed, 17 Feb 2021 22:37:41 +0200 Subject: [PATCH] Try to use tox in fedora container --- packages/Dockerfile.fedora | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/Dockerfile.fedora b/packages/Dockerfile.fedora index e5e264ce..9235b44a 100644 --- a/packages/Dockerfile.fedora +++ b/packages/Dockerfile.fedora @@ -15,6 +15,10 @@ RUN dnf -y install \ RUN ln -s /usr/bin/python2 /usr/bin/python +RUN dnf -yq install tox + +ENV LC_ALL en_US.utf8 + WORKDIR ${HOME} ADD . ${HOME} @@ -29,7 +33,7 @@ RUN useradd bitmessage && chown -R bitmessage ${HOME} USER bitmessage # Generate default config and run core tests -RUN LC_ALL=en_US.utf8 xvfb-run src/bitmessagemain.py -t +RUN python2 pybitmessage -t -CMD ["python2", "setup.py", "test"] +CMD ["tox"]