mirror of
https://github.com/neondatabase/neon.git
synced 2025-12-27 16:12:56 +00:00
## Problem The extensions for Postgres v17 are ready but we do not test the extensions shipped with v17 ## Summary of changes Build the test image based on Postgres v17. Run the tests for v17. --------- Co-authored-by: Anastasia Lubennikova <anastasia@neon.tech>
20 lines
614 B
Docker
20 lines
614 B
Docker
ARG REPOSITORY=neondatabase
|
|
ARG COMPUTE_IMAGE=compute-node-v14
|
|
ARG TAG=latest
|
|
|
|
FROM $REPOSITORY/${COMPUTE_IMAGE}:$TAG
|
|
|
|
ARG COMPUTE_IMAGE
|
|
|
|
USER root
|
|
RUN apt-get update && \
|
|
apt-get install -y curl \
|
|
jq \
|
|
python3-pip \
|
|
netcat-openbsd
|
|
#Faker is required for the pg_anon test
|
|
RUN case $COMPUTE_IMAGE in compute-node-v17) OPT="--break-system-packages";; *) OPT= ;; esac && pip3 install $OPT 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
|
|
|
|
USER postgres |