Skip to content

Commit

Permalink
fix(deployment): Add postgresql repositories in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
tparsa committed Oct 1, 2023
1 parent 4954f55 commit 4cf89dd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deployment/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ ENV container docker
ENV LC_ALL C
ENV DEBIAN_FRONTEND=noninteractive

RUN curl -fsSL https://www.postgresql.org/media/keys/ACCC4CF8.asc|sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/postgresql.gpg
RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" | sudo tee /etc/apt/sources.list.d/pgdg.list
RUN apt-get update && apt-get install -y \
postgresql-12 \
python3 \
Expand Down

0 comments on commit 4cf89dd

Please sign in to comment.