You've already forked postgres
mirror of
https://github.com/docker-library/postgres.git
synced 2025-11-19 00:22:57 +03:00
Update from Buster to Bullseye
This commit is contained in:
10
11/buster/Dockerfile → 11/bullseye/Dockerfile
generated
10
11/buster/Dockerfile → 11/bullseye/Dockerfile
generated
@@ -4,7 +4,7 @@
|
||||
# PLEASE DO NOT EDIT IT DIRECTLY.
|
||||
#
|
||||
|
||||
FROM debian:buster-slim
|
||||
FROM debian:bullseye-slim
|
||||
|
||||
RUN set -ex; \
|
||||
if ! command -v gpg > /dev/null; then \
|
||||
@@ -90,7 +90,7 @@ RUN set -ex; \
|
||||
ENV PG_MAJOR 11
|
||||
ENV PATH $PATH:/usr/lib/postgresql/$PG_MAJOR/bin
|
||||
|
||||
ENV PG_VERSION 11.13-1.pgdg100+1
|
||||
ENV PG_VERSION 11.13-1.pgdg110+1
|
||||
|
||||
RUN set -ex; \
|
||||
\
|
||||
@@ -99,15 +99,15 @@ RUN set -ex; \
|
||||
\
|
||||
dpkgArch="$(dpkg --print-architecture)"; \
|
||||
case "$dpkgArch" in \
|
||||
amd64 | arm64 | i386 | ppc64el) \
|
||||
amd64 | arm64 | ppc64el) \
|
||||
# arches officialy built by upstream
|
||||
echo "deb http://apt.postgresql.org/pub/repos/apt/ buster-pgdg main $PG_MAJOR" > /etc/apt/sources.list.d/pgdg.list; \
|
||||
echo "deb http://apt.postgresql.org/pub/repos/apt/ bullseye-pgdg main $PG_MAJOR" > /etc/apt/sources.list.d/pgdg.list; \
|
||||
apt-get update; \
|
||||
;; \
|
||||
*) \
|
||||
# we're on an architecture upstream doesn't officially build for
|
||||
# let's build binaries from their published source packages
|
||||
echo "deb-src http://apt.postgresql.org/pub/repos/apt/ buster-pgdg main $PG_MAJOR" > /etc/apt/sources.list.d/pgdg.list; \
|
||||
echo "deb-src http://apt.postgresql.org/pub/repos/apt/ bullseye-pgdg main $PG_MAJOR" > /etc/apt/sources.list.d/pgdg.list; \
|
||||
\
|
||||
tempDir="$(mktemp -d)"; \
|
||||
cd "$tempDir"; \
|
||||
Reference in New Issue
Block a user