Update
This commit is contained in:
@@ -3,16 +3,11 @@ FROM ubuntu:latest
|
||||
RUN apt-get update && apt-get install -y curl gnupg
|
||||
RUN apt-get install -y tini
|
||||
|
||||
# Install pg_dump (via Postgres client)
|
||||
# Install Postgres client (needed for restores, and for local testing)
|
||||
# https://www.postgresql.org/download/linux/ubuntu/
|
||||
#
|
||||
# We don't need it for production backups, but this is useful for local testing.
|
||||
RUN \
|
||||
apt-get install -y lsb-release && \
|
||||
sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' && \
|
||||
curl https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - && \
|
||||
apt-get update && \
|
||||
apt-get -y install postgresql-client-12
|
||||
# We don't have specific dependencies on Postgres, so just use the latest.
|
||||
RUN apt-get update && apt-get -y install postgresql-client
|
||||
|
||||
# Install SCW CLI
|
||||
# Latest release: https://github.com/scaleway/scaleway-cli/releases/latest
|
||||
|
||||
Reference in New Issue
Block a user