Skip to content

Commit 50c3c7c

Browse files
author
Sameer Naik
committed
switch to ubuntu:bionic-20180526
1 parent 7ecd6a9 commit 50c3c7c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:xenial-20180525
1+
FROM ubuntu:bionic-20180526
22
LABEL maintainer="[email protected]"
33

44
ENV PG_APP_HOME="/etc/docker-postgresql" \
@@ -13,9 +13,9 @@ ENV PG_BINDIR=/usr/lib/postgresql/${PG_VERSION}/bin \
1313
PG_DATADIR=${PG_HOME}/${PG_VERSION}/main
1414

1515
RUN apt-get update \
16-
&& DEBIAN_FRONTEND=noninteractive apt-get install -y gnupg gnupg-curl \
17-
&& apt-key adv --fetch-keys https://www.postgresql.org/media/keys/ACCC4CF8.asc \
18-
&& echo 'deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main' > /etc/apt/sources.list.d/pgdg.list \
16+
&& DEBIAN_FRONTEND=noninteractive apt-get install -y wget gnupg \
17+
&& wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
18+
&& echo 'deb http://apt.postgresql.org/pub/repos/apt/ bionic-pgdg main' > /etc/apt/sources.list.d/pgdg.list \
1919
&& apt-get update \
2020
&& DEBIAN_FRONTEND=noninteractive apt-get install -y acl sudo \
2121
postgresql-${PG_VERSION} postgresql-client-${PG_VERSION} postgresql-contrib-${PG_VERSION} \

0 commit comments

Comments
 (0)