Skip to content

Commit

Permalink
feat: support postgresql-client-14 (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeessy2 authored Jan 3, 2023
1 parent 0bf90f6 commit 811bdc3
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,15 @@ FROM debian:stable-slim
LABEL name=backup-x
LABEL url=https://github.com/jeessy2/backup-x

RUN apt-get -y update \
&& apt-get install -y ca-certificates curl \
&& apt-get install -y postgresql-client \
RUN apt-get -y update \
&& apt-get install -y wget curl gpg gnupg2 software-properties-common apt-transport-https lsb-release ca-certificates

# https://www.postgresql.org/download/linux/debian/
RUN sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' \
&& wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
&& apt-get update

RUN apt-get install -y postgresql-client-14 \
&& apt-get install -y default-mysql-client

WORKDIR /app
Expand Down

0 comments on commit 811bdc3

Please sign in to comment.