diff options
author | Ben Sturmfels <ben@sturm.com.au> | 2020-04-14 16:40:38 +1000 |
---|---|---|
committer | Ben Sturmfels <ben@sturm.com.au> | 2020-04-14 16:40:38 +1000 |
commit | 486f90a7f777edc9d3303c82960144b7f86be5d0 (patch) | |
tree | 96e24e5b78ad89ea8537af69b7d906b134cca3e8 /Dockerfile-debian-python2-sqlite | |
parent | 72047cbe687ac8f55c6f9afa5056b196e84ff355 (diff) | |
download | mediagoblin-486f90a7f777edc9d3303c82960144b7f86be5d0.tar.lz mediagoblin-486f90a7f777edc9d3303c82960144b7f86be5d0.tar.xz mediagoblin-486f90a7f777edc9d3303c82960144b7f86be5d0.zip |
Remove "git submodule init && git submodule update" from Dockerfiles.
These commands are run by `bootstrap.sh`. Also includes a couple more tidy-ups.
Diffstat (limited to 'Dockerfile-debian-python2-sqlite')
-rw-r--r-- | Dockerfile-debian-python2-sqlite | 4 |
1 files changed, 1 insertions, 3 deletions
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 |