Skip to content

Commit

Permalink
- remove pg client from container
Browse files Browse the repository at this point in the history
  • Loading branch information
elipe17 committed Sep 26, 2024
1 parent e5f110c commit 4fccc17
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tdrs-backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ WORKDIR /tdpapp/
RUN apt-get -y update
# Upgrade already installed packages:
RUN apt-get -y upgrade
# Postgres client setup
RUN apt --purge remove postgresql postgresql-* && apt install -y postgresql-common curl ca-certificates && install -d /usr/share/postgresql-common/pgdg && \
curl -o /usr/share/postgresql-common/pgdg/apt.postgresql.org.asc --fail https://www.postgresql.org/media/keys/ACCC4CF8.asc && \
sh -c 'echo "deb [signed-by=/usr/share/postgresql-common/pgdg/apt.postgresql.org.asc] https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' && \
apt -y update && apt install postgresql-client-15 -y
# Install packages:
RUN apt install -y gcc graphviz graphviz-dev libpq-dev python3-dev vim
# Install pipenv
Expand Down

0 comments on commit 4fccc17

Please sign in to comment.