summaryrefslogtreecommitdiff
path: root/test/docker/bionic
diff options
context:
space:
mode:
authorAdam Hupp <adam@hupp.org>2022-04-25 15:21:35 -0700
committerAdam Hupp <adam@hupp.org>2022-05-22 05:54:13 -0700
commit51e34d2b8b84f1a582b4dbbfa3693957ddc3f48a (patch)
treec15a36933be11d1b82685b0e787e55f95168770e /test/docker/bionic
parent585373b5d952e579a9f7bd8f6418ca0bfd6a5e35 (diff)
downloadpython-magic-51e34d2b8b84f1a582b4dbbfa3693957ddc3f48a.tar.gz
use tox for all the multi-version testing
Diffstat (limited to 'test/docker/bionic')
-rwxr-xr-xtest/docker/bionic11
1 files changed, 6 insertions, 5 deletions
diff --git a/test/docker/bionic b/test/docker/bionic
index e335b8e..2fe482c 100755
--- a/test/docker/bionic
+++ b/test/docker/bionic
@@ -1,8 +1,9 @@
FROM ubuntu:bionic
+WORKDIR /python-magic
+COPY . .
RUN apt-get update
-RUN apt-get -y install python
-RUN apt-get -y install python3
-RUN apt-get -y install locales
+RUN apt-get -y install python python3 locales python3-pip libmagic1
RUN locale-gen en_US.UTF-8
-COPY . /python-magic
-CMD cd /python-magic/test && python3 ./run.py
+RUN python3 -m pip install tox
+CMD python3 -m tox
+