add git in docker build for submodule installation
This commit is contained in:
@@ -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/*
|
||||
|
||||
@@ -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/*
|
||||
|
||||
Reference in New Issue
Block a user