Adds extra system libraries for pikepdf/Pillow building

This commit is contained in:
Trenton Holmes
2022-04-26 14:14:47 -07:00
parent 8c2887f938
commit 778479b12d
6 changed files with 46 additions and 11 deletions

View File

@@ -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