Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Update

Manav Rathie6d7d2298c18
diff --git a/infra/copycat-db/Dockerfile b/infra/copycat-db/Dockerfile
index c22b50c070..9d58c09fa8 100644
--- a/infra/copycat-db/Dockerfile
+++ b/infra/copycat-db/Dockerfile
@@ -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