Skip to content
This repository has been archived by the owner on Jan 4, 2024. It is now read-only.

Commit

Permalink
Merge pull request #56 from lsst-sqre/tickets/DM-41198B
Browse files Browse the repository at this point in the history
tickets/DM-41198: add postgresql-client to image
  • Loading branch information
athornton authored Oct 17, 2023
2 parents f4021c7 + 8997f65 commit d0914a2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scripts/install-dependency-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,14 @@ apt-get update
apt-get -y install --no-install-recommends build-essential libffi-dev \
libpq-dev python3-dev

# postgresql-client is not *strictly* necessary, but if we're using
# CloudSQL proxy against a Cloud SQL instance that has no public IP
# and a network policy only allowing access to the proxy from the Hub
# pod, this is a much easier way to inspect the DB than an interactive
# python instance.

apt-get -y install --no-install-recommends postgresql-client

# Delete cached files we don't need anymore:
apt-get clean
rm -rf /var/lib/apt/lists/*

0 comments on commit d0914a2

Please sign in to comment.