File tree 2 files changed +12
-7
lines changed
2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 1
1
# vim:set ft=dockerfile:
2
- FROM debian:stretch -slim
2
+ FROM debian:buster -slim
3
3
4
4
RUN set -ex; \
5
5
if ! command -v gpg > /dev/null; then \
@@ -71,7 +71,7 @@ RUN set -ex; \
71
71
apt-key list
72
72
73
73
ENV PG_MAJOR 12
74
- ENV PG_VERSION 12~beta1-1.pgdg90 +1
74
+ ENV PG_VERSION 12~beta1-1.pgdg100 +1
75
75
76
76
RUN set -ex; \
77
77
\
@@ -82,20 +82,20 @@ RUN set -ex; \
82
82
case "$dpkgArch" in \
83
83
amd64|i386|ppc64el) \
84
84
# arches officialy built by upstream
85
- echo "deb http://apt.postgresql.org/pub/repos/apt/ stretch -pgdg main $PG_MAJOR" > /etc/apt/sources.list.d/pgdg.list; \
85
+ echo "deb http://apt.postgresql.org/pub/repos/apt/ buster -pgdg main $PG_MAJOR" > /etc/apt/sources.list.d/pgdg.list; \
86
86
apt-get update; \
87
87
;; \
88
88
*) \
89
89
# we're on an architecture upstream doesn't officially build for
90
90
# let's build binaries from their published source packages
91
- echo "deb-src http://apt.postgresql.org/pub/repos/apt/ stretch -pgdg main $PG_MAJOR" > /etc/apt/sources.list.d/pgdg.list; \
91
+ echo "deb-src http://apt.postgresql.org/pub/repos/apt/ buster -pgdg main $PG_MAJOR" > /etc/apt/sources.list.d/pgdg.list; \
92
92
\
93
93
case "$PG_MAJOR" in \
94
94
9.* | 10 ) ;; \
95
95
*) \
96
96
# https://github.com/docker-library/postgres/issues/484 (clang-6.0 required, only available in stretch-backports)
97
97
# TODO remove this once we hit buster+
98
- echo 'deb http://deb.debian.org/debian stretch -backports main' >> /etc/apt/sources.list.d/pgdg.list; \
98
+ echo 'deb http://deb.debian.org/debian buster -backports main' >> /etc/apt/sources.list.d/pgdg.list; \
99
99
;; \
100
100
esac; \
101
101
\
Original file line number Diff line number Diff line change @@ -12,9 +12,14 @@ versions=( "${versions[@]%/}" )
12
12
# sort version numbers with highest last (so it goes first in .travis.yml)
13
13
IFS=$' \n ' ; versions=( $( echo " ${versions[*]} " | sort -V) ); unset IFS
14
14
15
- defaultDebianSuite=' stretch -slim'
15
+ defaultDebianSuite=' buster -slim'
16
16
declare -A debianSuite=(
17
- # [9.6]='jessie'
17
+ # https://github.com/docker-library/postgres/issues/582
18
+ [9.4]=' stretch-slim'
19
+ [9.5]=' stretch-slim'
20
+ [9.6]=' stretch-slim'
21
+ [10]=' stretch-slim'
22
+ [11]=' stretch-slim'
18
23
)
19
24
defaultAlpineVersion=' 3.9'
20
25
declare -A alpineVersion=(
You can’t perform that action at this time.
0 commit comments