Skip to content

Instantly share code, notes, and snippets.

@criess
Last active October 4, 2021 12:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save criess/938da89f12b794d164fea107088ae8e3 to your computer and use it in GitHub Desktop.
Save criess/938da89f12b794d164fea107088ae8e3 to your computer and use it in GitHub Desktop.
FROM debian:bullseye
RUN apt-get update &&\
apt-get -y install curl gnupg
RUN curl -s "https://www.postgresql.org/media/keys/ACCC4CF8.asc" | apt-key add - &&\
echo "deb http://apt.postgresql.org/pub/repos/apt/ bullseye-pgdg main" > /etc/apt/sources.list.d/pgdg.list &&\
apt-get update &&\
apt-get install -y postgresql-client-13 libpq-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment