mirror of
https://github.com/databasus/databasus.git
synced 2026-04-06 00:32:03 +02:00
17 lines
518 B
Docker
17 lines
518 B
Docker
# Runs backup-restore lifecycle tests with a specific PostgreSQL version.
|
|
# Used for PG version matrix testing (15, 16, 17, 18).
|
|
FROM debian:bookworm-slim
|
|
|
|
ARG PG_VERSION=17
|
|
|
|
RUN apt-get update && \
|
|
apt-get install -y --no-install-recommends \
|
|
ca-certificates curl gnupg2 postgresql-common && \
|
|
/usr/share/postgresql-common/pgdg/apt.postgresql.org.sh -y && \
|
|
apt-get install -y --no-install-recommends \
|
|
postgresql-${PG_VERSION} && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
WORKDIR /tmp
|
|
ENTRYPOINT []
|