mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-15 01:14:53 +03:00
Fix CFFI installation on Raspberry PI
This commit is contained in:
parent
43efe9a7ef
commit
0c338796dc
|
@ -10,6 +10,8 @@ ARG BUILD_ENVIRONMENT=local
|
||||||
RUN apt-get update && apt-get install --no-install-recommends -y \
|
RUN apt-get update && apt-get install --no-install-recommends -y \
|
||||||
# dependencies for building Python packages
|
# dependencies for building Python packages
|
||||||
build-essential \
|
build-essential \
|
||||||
|
# needed to build cffi on some architectures
|
||||||
|
libffi-dev \
|
||||||
# psycopg2 dependencies
|
# psycopg2 dependencies
|
||||||
libpq-dev
|
libpq-dev
|
||||||
|
|
||||||
|
|
|
@ -36,6 +36,8 @@ ARG BUILD_ENVIRONMENT=production
|
||||||
RUN apt-get update && apt-get install --no-install-recommends -y \
|
RUN apt-get update && apt-get install --no-install-recommends -y \
|
||||||
# dependencies for building Python packages
|
# dependencies for building Python packages
|
||||||
build-essential \
|
build-essential \
|
||||||
|
# needed to build cffi on some architectures
|
||||||
|
libffi-dev \
|
||||||
# psycopg2 dependencies
|
# psycopg2 dependencies
|
||||||
libpq-dev
|
libpq-dev
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user