aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile-debian-python3-sqlite
diff options
context:
space:
mode:
authorBen Sturmfels <ben@sturm.com.au>2021-03-06 11:49:56 +1100
committerBen Sturmfels <ben@sturm.com.au>2021-03-06 11:49:56 +1100
commitfa1b4315a14925999aca9b7292e5ee454fa6c280 (patch)
treefb1ceac03030a32fcc40dff7a63b4b959a6615ac /Dockerfile-debian-python3-sqlite
parent370d8a72964b4d6ba75d68cc0113730c037428fa (diff)
downloadmediagoblin-fa1b4315a14925999aca9b7292e5ee454fa6c280.tar.lz
mediagoblin-fa1b4315a14925999aca9b7292e5ee454fa6c280.tar.xz
mediagoblin-fa1b4315a14925999aca9b7292e5ee454fa6c280.zip
Re-enable tests in Dockerfiles.
Diffstat (limited to 'Dockerfile-debian-python3-sqlite')
-rw-r--r--Dockerfile-debian-python3-sqlite10
1 files changed, 6 insertions, 4 deletions
diff --git a/Dockerfile-debian-python3-sqlite b/Dockerfile-debian-python3-sqlite
index 93f3db4d..0785a18e 100644
--- a/Dockerfile-debian-python3-sqlite
+++ b/Dockerfile-debian-python3-sqlite
@@ -6,11 +6,13 @@
#
# To build this Docker image, run:
#
-# docker build -t mediagoblin-python3 -f Dockerfile-debian-python3-sqlite . # or
-# docker build -t mediagoblin-python3 - < Dockerfile-debian-python3-sqlite # with no build context
+# docker build -t mediagoblin-python3 - < Dockerfile-debian-python3-sqlite
#
# The "- < Dockerfile" format advises Docker not to include the current
-# directory as build context.
+# directory as build context. Alternatively the following provides build
+# context:
+#
+# docker build -t mediagoblin-python3 -f Dockerfile-debian-python3-sqlite .
#
# Before running the image you first need to first assign the "mediagoblin" and
# "user_dev" directories to an artificial group (1024) on the host that is
@@ -147,7 +149,7 @@ RUN VIRTUALENV_FLAGS='--system-site-packages' ./configure
RUN make
# Run the tests.
-# RUN ./bin/python -m pytest ./mediagoblin/tests --boxed
+RUN ./bin/python -m pytest ./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.