aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile-debian-python2-sqlite
diff options
context:
space:
mode:
authorBen Sturmfels <ben@sturm.com.au>2020-05-01 16:37:23 +1000
committerBen Sturmfels <ben@sturm.com.au>2020-05-01 16:41:07 +1000
commite77430eb273f352f5e777888b73c95ca0beda593 (patch)
tree20cb44b16ec1a6a79ba63dce13c4f3fd54b9688e /Dockerfile-debian-python2-sqlite
parent880b2584bb412fb4be43cd84c8ee704c90308aad (diff)
downloadmediagoblin-e77430eb273f352f5e777888b73c95ca0beda593.tar.lz
mediagoblin-e77430eb273f352f5e777888b73c95ca0beda593.tar.xz
mediagoblin-e77430eb273f352f5e777888b73c95ca0beda593.zip
Add release notes for v0.10.0.
Diffstat (limited to 'Dockerfile-debian-python2-sqlite')
-rw-r--r--Dockerfile-debian-python2-sqlite70
1 files changed, 38 insertions, 32 deletions
diff --git a/Dockerfile-debian-python2-sqlite b/Dockerfile-debian-python2-sqlite
index 977923b7..93b398d3 100644
--- a/Dockerfile-debian-python2-sqlite
+++ b/Dockerfile-debian-python2-sqlite
@@ -10,38 +10,40 @@ git \
nodejs \
npm \
python-dev \
+python-lxml \
+python-pil \
virtualenv
-RUN apt-get install -y \
-python-alembic \
-python-celery \
-python-jsonschema \
-python-kombu \
-python-lxml \
-python-migrate \
-python-mock \
-python-py \
-python-pytest \
-python-pytest-xdist \
-python-six \
-python-snowballstemmer \
-python-sphinx \
-python-sphinxcontrib.websupport \
-python-webtest
-
-RUN apt-get install -y \
-gstreamer1.0-libav \
-gstreamer1.0-plugins-bad \
-gstreamer1.0-plugins-base \
-gstreamer1.0-plugins-good \
-gstreamer1.0-plugins-ugly \
-python-gst-1.0
-
-RUN apt-get install -y \
-gir1.2-gst-plugins-base-1.0 \
-gir1.2-gstreamer-1.0 \
-gstreamer1.0-tools \
-python-gi
+# RUN apt-get install -y \
+# python-alembic \
+# python-celery \
+# python-jsonschema \
+# python-kombu \
+# python-lxml \
+# python-migrate \
+# python-mock \
+# python-py \
+# python-pytest \
+# python-pytest-xdist \
+# python-six \
+# python-snowballstemmer \
+# python-sphinx \
+# python-sphinxcontrib.websupport \
+# python-webtest
+
+# RUN apt-get install -y \
+# gstreamer1.0-libav \
+# gstreamer1.0-plugins-bad \
+# gstreamer1.0-plugins-base \
+# gstreamer1.0-plugins-good \
+# gstreamer1.0-plugins-ugly \
+# python-gst-1.0
+
+# RUN apt-get install -y \
+# gir1.2-gst-plugins-base-1.0 \
+# gir1.2-gstreamer-1.0 \
+# gstreamer1.0-tools \
+# python-gi
RUN mkdir /opt/mediagoblin
RUN chown -R www-data:www-data /opt/mediagoblin
@@ -54,16 +56,20 @@ RUN groupadd --system mediagoblin --gid 1024 && adduser www-data mediagoblin
USER www-data
+RUN echo "1"
+
RUN git clone --depth=1 git://git.savannah.gnu.org/mediagoblin.git --branch master .
+# RUN git clone --depth=1 https://gitlab.com/BenSturmfels/mediagoblin.git --branch master .
RUN ./bootstrap.sh
RUN VIRTUALENV_FLAGS='--system-site-packages' ./configure --without-python3
+
RUN make
RUN ./bin/python -m pytest ./mediagoblin/tests --boxed
-RUN echo '[[mediagoblin.media_types.audio]]' >> mediagoblin.ini
-RUN echo '[[mediagoblin.media_types.video]]' >> mediagoblin.ini
+# RUN echo '[[mediagoblin.media_types.audio]]' >> mediagoblin.ini
+# RUN echo '[[mediagoblin.media_types.video]]' >> mediagoblin.ini
RUN ./bin/gmg dbupdate
RUN ./bin/gmg adduser --username admin --password a --email admin@example.com