Skip to content

Commit b818ecd

Browse files
authored
Review fixes for non-interactive Dockerfile builds. (#902)
1 parent 3573e54 commit b818ecd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ FROM debian:buster-slim as run
120120
ARG PGVERSION
121121

122122
RUN apt-get update \
123-
&& apt-get install -y --no-install-recommends \
123+
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
124124
ca-certificates \
125125
curl \
126126
gnupg \
@@ -143,7 +143,7 @@ RUN echo "deb http://apt.postgresql.org/pub/repos/apt buster-pgdg main" > /etc/a
143143
# bypass initdb of a "main" cluster
144144
RUN echo 'create_main_cluster = false' | sudo tee -a /etc/postgresql-common/createcluster.conf
145145
RUN apt-get update\
146-
&& apt-get install -y --no-install-recommends postgresql-${PGVERSION} \
146+
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends postgresql-${PGVERSION} \
147147
&& rm -rf /var/lib/apt/lists/*
148148

149149
RUN adduser --disabled-password --gecos '' --home /var/lib/postgres docker

0 commit comments

Comments
 (0)