summaryrefslogtreecommitdiff
path: root/test/docker/bionic
diff options
context:
space:
mode:
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
+