Created
July 28, 2024 10:27
-
-
Save niccolomineo/bdfeb608696a3a353a9bfaeb806040ec to your computer and use it in GitHub Desktop.
PostgreSQL 16 on Debian bookworm 12.6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM python:3.11-slim-bookworm | |
RUN curl -fsSL https://www.postgresql.org/media/keys/ACCC4CF8.asc|sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/postgresql.gpg | |
RUN sudo sh -c 'echo "deb https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' | |
RUN apt-get update \ | |
&& apt-get install -y --no-install-recommends \ | |
postgresql-client-16 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment