Update database syncer Dockerfile to install PostgreSQL client 17 and add GPG key management for repository. Bump version to 1.0.1.
Build and Push Docker Images / build-and-push (push) Successful in 1m7s
Build and Push Docker Images / build-and-push (push) Successful in 1m7s
This commit is contained in:
1 parent
e60cbc3da3
commit
0c8c437316
2 files changed
+10
-2
No files matched your search
@@ -1,9 +1,17 @@
|
||||
FROM python:3.12-slim-bookworm
|
||||
|
||||
# pg_dump must be >= server version (source is PG 17+)
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
postgresql-client \
|
||||
ca-certificates \
|
||||
curl \
|
||||
gnupg \
|
||||
tzdata \
|
||||
&& curl -fsSL https://www.postgresql.org/media/keys/ACCC4CF8.asc \
|
||||
| gpg --dearmor -o /usr/share/keyrings/postgresql.gpg \
|
||||
&& echo "deb [signed-by=/usr/share/keyrings/postgresql.gpg] http://apt.postgresql.org/pub/repos/apt bookworm-pgdg main" \
|
||||
> /etc/apt/sources.list.d/pgdg.list \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y --no-install-recommends postgresql-client-17 \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
@@ -1 +1 @@
|
||||
1.0.0
|
||||
1.0.1
|
||||
Reference in new issue
Block a user