ci: add pg client tools to base image

This commit is contained in:
Nicolas Giard 2023-02-07 17:33:45 -05:00 committed by GitHub
parent 9e340cd0e4
commit 6513b4dbb1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,6 +16,10 @@ RUN curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /
RUN echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian \
$(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
# Add PostgreSQL Source
RUN echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" | tee /etc/apt/sources.list.d/pgdg.list
RUN wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
# Install the packages we need
RUN apt-get update --fix-missing && apt-get install -qy \
apache2-utils \
@ -54,7 +58,9 @@ RUN apt-get update --fix-missing && apt-get install -qy \
nano \
netcat \
nodejs \
pgloader \
pigz \
postgresql-client-14 \
pv \
python3-ipython \
ripgrep \