We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f94693b commit 3336be4Copy full SHA for 3336be4
Dockerfile
@@ -6,5 +6,13 @@ LABEL org.opencontainers.image.description="PostgreSQL ${PG_VERSION} with pg_cro
6
LABEL org.opencontainers.image.licenses="MIT"
7
8
RUN apt-get update \
9
+ && apt-get install -y --no-install-recommends \
10
+ ca-certificates \
11
+ wget \
12
+ gnupg \
13
+ && wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
14
+ && echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list \
15
+ && apt-get update \
16
&& apt-get install -y --no-install-recommends postgresql-${PG_VERSION}-cron \
17
+ && apt-get purge -y --auto-remove ca-certificates wget gnupg \
18
&& rm -rf /var/lib/apt/lists/*
0 commit comments