From bfbc7922204a5faab8b1ff18ef8863e18b36f7fd Mon Sep 17 00:00:00 2001 From: Ben Sturmfels Date: Wed, 3 Mar 2021 22:46:58 +1100 Subject: [PATCH] Show last git commit when building Docker image. --- Dockerfile-debian-python3-sqlite | 1 + Dockerfile-fedora-python3-sqlite | 1 + 2 files changed, 2 insertions(+) diff --git a/Dockerfile-debian-python3-sqlite b/Dockerfile-debian-python3-sqlite index ba30ecc5..8683fe3b 100644 --- a/Dockerfile-debian-python3-sqlite +++ b/Dockerfile-debian-python3-sqlite @@ -141,6 +141,7 @@ USER www-data # but still uses upstream MediaGoblin for the build. 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 git show --oneline --no-patch RUN ./bootstrap.sh RUN VIRTUALENV_FLAGS='--system-site-packages' ./configure diff --git a/Dockerfile-fedora-python3-sqlite b/Dockerfile-fedora-python3-sqlite index f9037934..eb49a28a 100644 --- a/Dockerfile-fedora-python3-sqlite +++ b/Dockerfile-fedora-python3-sqlite @@ -68,6 +68,7 @@ RUN chown root:www-data /var/www USER www-data RUN git clone --depth=1 git://git.savannah.gnu.org/mediagoblin.git --branch master . +RUN git show --oneline --no-patch RUN ./bootstrap.sh RUN VIRTUALENV_FLAGS='--system-site-packages' ./configure