From 486f90a7f777edc9d3303c82960144b7f86be5d0 Mon Sep 17 00:00:00 2001 From: Ben Sturmfels Date: Tue, 14 Apr 2020 16:40:38 +1000 Subject: Remove "git submodule init && git submodule update" from Dockerfiles. These commands are run by `bootstrap.sh`. Also includes a couple more tidy-ups. --- Dockerfile-debian-python2-sqlite | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Dockerfile-debian-python2-sqlite') diff --git a/Dockerfile-debian-python2-sqlite b/Dockerfile-debian-python2-sqlite index 82e91bc8..5cabef0f 100644 --- a/Dockerfile-debian-python2-sqlite +++ b/Dockerfile-debian-python2-sqlite @@ -48,16 +48,14 @@ RUN mkdir /opt/mediagoblin RUN chown -R www-data:www-data /opt/mediagoblin WORKDIR /opt/mediagoblin -RUN mkdir /var/www +RUN mkdir --mode=g+w /var/www RUN chown root:www-data /var/www -RUN chmod g+w /var/www RUN groupadd --system mediagoblin --gid 1024 && adduser www-data mediagoblin USER www-data RUN git clone --depth=1 git://git.savannah.gnu.org/mediagoblin.git -b master . -RUN git submodule init && git submodule update RUN ./bootstrap.sh RUN VIRTUALENV_FLAGS='--system-site-packages' ./configure -- cgit v1.2.3