Skip to content

Commit

Permalink
install latest (16) postgresql so pg_dump can work with any version
Browse files Browse the repository at this point in the history
  • Loading branch information
rgaudin committed May 15, 2023
1 parent 79f3594 commit e8684a5
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,13 @@ ARG KUBECTL_VERSION="1.23.3"
RUN apt-get update && \
apt-get install -y --no-install-recommends bash curl borgbackup vim \
python3 python3-pip python3-setuptools openssh-client unzip git cron \
default-mysql-client postgresql-client \
dnsutils bind9utils tar xz-utils gzip bzip2 coreutils grep && \
default-mysql-client \
dnsutils bind9utils tar xz-utils gzip bzip2 coreutils grep lsb-release gnupg2 && \
# install postgresql-16 \
echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main 16" > /etc/apt/sources.list.d/pgdg.list && \
curl -Ls https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - && \
apt-get update && \
apt-get install -y --no-install-recommends -y postgresql-client-15 && \
curl -Ls https://fastdl.mongodb.org/tools/db/mongodb-database-tools-debian10-x86_64-100.5.2.deb -o mongo-tools.deb && \
apt-get install -y --no-install-recommends -y ./mongo-tools.deb && \
rm -f ./mongo-tools.deb && \
Expand Down

0 comments on commit e8684a5

Please sign in to comment.