mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-20 13:36:45 +01:00
Adds extra system libraries for pikepdf/Pillow building
This commit is contained in:
parent
2caa2d5b32
commit
9aee44f363
6 changed files with 46 additions and 11 deletions
|
|
@ -3,7 +3,7 @@
|
|||
# - PSYCOPG2_GIT_TAG - The Git tag to clone and build from
|
||||
# - PSYCOPG2_VERSION - Unused, kept for future possible usage
|
||||
|
||||
FROM python:3.9-slim-bullseye
|
||||
FROM python:3.9-slim-bullseye as main
|
||||
|
||||
LABEL org.opencontainers.image.description="A intermediate image with psycopg2 wheel built"
|
||||
|
||||
|
|
@ -12,9 +12,10 @@ ARG DEBIAN_FRONTEND=noninteractive
|
|||
ARG BUILD_PACKAGES="\
|
||||
build-essential \
|
||||
git \
|
||||
libpq-dev \
|
||||
python3-dev \
|
||||
python3-pip"
|
||||
python3-pip \
|
||||
# https://www.psycopg.org/docs/install.html#prerequisites
|
||||
libpq-dev"
|
||||
|
||||
WORKDIR /usr/src
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue