mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-04 03:52:56 +00:00
## Problem Docker Hub has new rate limits coming up, and to avoid problems coming with those we're switching to GHCR. ## Summary of changes - Push images to GHCR initially and distribute them from there - Use images from GHCR in docker-compose
19 lines
550 B
Docker
19 lines
550 B
Docker
ARG REPOSITORY=ghcr.io/neondatabase
|
|
ARG COMPUTE_IMAGE=compute-node-v14
|
|
ARG TAG=latest
|
|
|
|
FROM $REPOSITORY/${COMPUTE_IMAGE}:$TAG
|
|
|
|
ARG COMPUTE_IMAGE
|
|
|
|
USER root
|
|
RUN echo 'Acquire::Retries "5";' > /etc/apt/apt.conf.d/80-retries && \
|
|
apt-get update && \
|
|
apt-get install -y curl \
|
|
jq \
|
|
netcat-openbsd
|
|
#This is required for the pg_hintplan test
|
|
RUN mkdir -p /ext-src/pg_hint_plan-src /postgres/contrib/file_fdw && chown postgres /ext-src/pg_hint_plan-src /postgres/contrib/file_fdw
|
|
|
|
USER postgres
|