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 \
# 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 \
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 --with-python3
+RUN VIRTUALENV_FLAGS='--system-site-packages' ./configure
RUN make
# RUN echo '[[mediagoblin.media_types.audio]]' >> mediagoblin.ini