Skip to content

Commit 1ac6ab8

Browse files
committed
Switch to postgresql-13 on Ubuntu 20.04 Docker image
Packages are downloaded from PotgreSQL Apt Repo, see https://www.postgresql.org/download/linux/ubuntu/
1 parent ee804f6 commit 1ac6ab8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docker/ubuntu/Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,14 @@ FROM ubuntu:20.04 AS builder
44
ENV DEBIAN_FRONTEND=noninteractive
55

66
RUN apt-get update -qq && \
7+
apt-get install -y postgresql-common gnupg && \
8+
/usr/share/postgresql-common/pgdg/apt.postgresql.org.sh -y && \
79
apt-get install -y gcc g++ make cmake \
810
libfcgi-dev libxml2-dev libmemcached-dev libbrotli-dev \
911
libboost-program-options-dev \
1012
libcrypto++-dev libyajl-dev \
1113
libpqxx-dev zlib1g-dev libfmt-dev \
12-
postgresql-12 postgresql-server-dev-all \
14+
postgresql-13 postgresql-server-dev-all \
1315
--no-install-recommends && \
1416
apt-get clean && \
1517
rm -rf /var/lib/apt/lists/*

0 commit comments

Comments
 (0)