diff --git a/compose/local/django/Dockerfile b/compose/local/django/Dockerfile index d1e10b2..000605e 100644 --- a/compose/local/django/Dockerfile +++ b/compose/local/django/Dockerfile @@ -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/* diff --git a/compose/production/django/Dockerfile b/compose/production/django/Dockerfile index d65fc99..a866375 100644 --- a/compose/production/django/Dockerfile +++ b/compose/production/django/Dockerfile @@ -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/*