fix(compute-build): Use system package instead of pip

python on debian 12 requires --break-system-packages flag
This commit is contained in:
Rahul Patil
2024-09-18 10:58:29 +02:00
parent 9caabcf916
commit 0e2b347e53

View File

@@ -5,13 +5,13 @@ ARG TAG=latest
FROM $REPOSITORY/${COMPUTE_IMAGE}:$TAG
USER root
#Faker is required for the pg_anon test
RUN apt-get update && \
apt-get install -y curl \
jq \
python3-pip \
netcat-traditional
#Faker is required for the pg_anon test
RUN pip3 install Faker
netcat-traditional \
faker
#This is required for the pg_hintplan test
RUN mkdir -p /ext-src/pg_hint_plan-src && chown postgres /ext-src/pg_hint_plan-src