docs: Add chapter on upgrading, inc. system Python upgrades [#972].
[mediagoblin.git] / Dockerfile-fedora-python3-sqlite
index ee3378661ed1cda0dc6937b87d72551517da0b8c..cdaa83858a933f857c4d68f7a902b0f6daaff8bb 100644 (file)
@@ -4,18 +4,17 @@
 
 FROM fedora:31
 
-RUN yum -y update
-RUN yum -y install \
+RUN dnf -y install \
 automake \
 gcc \
-git \
+git-core \
 make \
 nodejs \
 npm \
 python3-devel \
 virtualenv
 
-RUN yum -y install \
+RUN dnf -y install \
 findutils \
 python3-alembic \
 python3-celery \
@@ -37,16 +36,13 @@ python3-webtest \
 # Fedora only
 which
 
-# RUN apt-get install -y \
+# RUN dnf -y install \
 # gstreamer1.0-libav \
 # gstreamer1.0-plugins-bad \
 # gstreamer1.0-plugins-base \
 # gstreamer1.0-plugins-good \
 # gstreamer1.0-plugins-ugly \
-# libsndfile1-dev \
 # python3-gst-1.0 \
-# python3-numpy \
-# python3-scipy
 
 # RUN apt-get install -y \
 # gir1.2-gst-plugins-base-1.0 \
@@ -70,7 +66,7 @@ RUN chown root:www-data /var/www
 
 USER www-data
 
-RUN git clone --depth=1 git://git.savannah.gnu.org/mediagoblin.git -b master .
+RUN git clone --depth=1 git://git.savannah.gnu.org/mediagoblin.git --branch master .
 
 RUN ./bootstrap.sh
 RUN VIRTUALENV_FLAGS='--system-site-packages' ./configure