Update Dockerfile

This commit is contained in:
Alexandre
2023-01-23 17:43:27 +01:00
committed by GitHub
parent 119b5142a7
commit 4cb96a75d1

View File

@@ -36,10 +36,10 @@ ENV DEBIAN_FRONTEND=noninteractive
# Set shell
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
# hadolint ignore=SC2013
# hadolint ignore=SC2013,DL3015
RUN \
apt-get update && \
apt-get install -y gnupg gnupg2 gnupg1 wget lsb-core --no-install-recommends && \
apt-get install -y gnupg gnupg2 gnupg1 wget lsb-core && \
sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' && \
curl -s -S https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - && \
printf '#!/bin/sh\nexit 0' > /usr/sbin/policy-rc.d && \