Skip to content

Commit 3336be4

Browse files
committed
fix
1 parent f94693b commit 3336be4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Dockerfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,13 @@ LABEL org.opencontainers.image.description="PostgreSQL ${PG_VERSION} with pg_cro
66
LABEL org.opencontainers.image.licenses="MIT"
77

88
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 \
916
&& apt-get install -y --no-install-recommends postgresql-${PG_VERSION}-cron \
17+
&& apt-get purge -y --auto-remove ca-certificates wget gnupg \
1018
&& rm -rf /var/lib/apt/lists/*

0 commit comments

Comments
 (0)