aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile-debian-python3-sqlite
diff options
context:
space:
mode:
authorBen Sturmfels <ben@sturm.com.au>2021-03-09 16:56:28 +1100
committerBen Sturmfels <ben@sturm.com.au>2021-03-09 16:56:28 +1100
commit3ba11716c10d285f0373c2dfc3650c0af453896b (patch)
tree2c736b3e33a52540221526987cd326f267deb6aa /Dockerfile-debian-python3-sqlite
parent95be20a936e703903b1797bf109547c01019cd1d (diff)
downloadmediagoblin-3ba11716c10d285f0373c2dfc3650c0af453896b.tar.lz
mediagoblin-3ba11716c10d285f0373c2dfc3650c0af453896b.tar.xz
mediagoblin-3ba11716c10d285f0373c2dfc3650c0af453896b.zip
Run LDAP, OpenID and PDF tests under Docker.
Diffstat (limited to 'Dockerfile-debian-python3-sqlite')
-rw-r--r--Dockerfile-debian-python3-sqlite9
1 files changed, 8 insertions, 1 deletions
diff --git a/Dockerfile-debian-python3-sqlite b/Dockerfile-debian-python3-sqlite
index 8f38879c..bf22b9cf 100644
--- a/Dockerfile-debian-python3-sqlite
+++ b/Dockerfile-debian-python3-sqlite
@@ -112,6 +112,12 @@ libboost-python-dev
RUN apt-get install -y \
poppler-utils
+# Install LDAP depedencies.
+RUN apt-get install -y python3-ldap
+
+# Install OpenID dependencies.
+RUN apt-get install -y python3-openid
+
# Create working directory.
RUN mkdir /opt/mediagoblin
RUN chown -R www-data:www-data /opt/mediagoblin
@@ -167,7 +173,8 @@ RUN make
RUN ./bin/pip install py3exiv2
# Run the tests.
-RUN ./bin/python -m pytest ./mediagoblin/tests --boxed
+RUN echo foo
+RUN ./bin/python -m pytest -rs ./mediagoblin/tests --boxed
# Only safe if being run on a clean git checkout. Otherwise you may have already
# customised mediagoblin.ini to already install these.