File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -8,11 +8,11 @@ LABEL org.opencontainers.image.licenses="MIT"
88RUN apt-get update \
99 && apt-get install -y --no-install-recommends \
1010 ca-certificates \
11- wget \
11+ curl \
1212 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 \
13+ && curl -fsSL https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor -o /usr/share/keyrings/postgresql-archive-keyring.gpg \
14+ && echo "deb [signed-by=/usr/share/keyrings/postgresql-archive-keyring.gpg] http://apt.postgresql.org/pub/repos/apt $(. /etc/os-release && echo $VERSION_CODENAME )-pgdg main" > /etc/apt/sources.list.d/pgdg.list \
1515 && apt-get update \
1616 && apt-get install -y --no-install-recommends postgresql-${PG_VERSION}-cron \
17- && apt-get purge -y --auto-remove ca-certificates wget gnupg \
17+ && apt-get purge -y --auto-remove ca-certificates curl gnupg \
1818 && rm -rf /var/lib/apt/lists/*
You can’t perform that action at this time.
0 commit comments