add git in docker build for submodule installation

This commit is contained in:
2023-05-06 11:28:41 -05:00
parent 000625c727
commit 96a75eb4bb
2 changed files with 8 additions and 0 deletions

View File

@@ -12,6 +12,8 @@ ARG BUILD_ENVIRONMENT=local
RUN apt-get update && apt-get install --no-install-recommends -y \
# dependencies for building Python packages
build-essential \
# git
git \
# psycopg2 dependencies
libpq-dev
@@ -41,6 +43,8 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
libpq-dev \
# Translations dependencies
gettext \
# git for submodules
git \
# cleaning up unused files
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
&& rm -rf /var/lib/apt/lists/*

View File

@@ -14,6 +14,8 @@ ARG BUILD_ENVIRONMENT=production
RUN apt-get update && apt-get install --no-install-recommends -y \
# dependencies for building Python packages
build-essential \
# git for submodules
git \
# psycopg2 dependencies
libpq-dev
@@ -47,6 +49,8 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
libpq-dev \
# Translations dependencies
gettext \
# git for submodules
git \
# cleaning up unused files
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
&& rm -rf /var/lib/apt/lists/*