File tree 6 files changed +12
-20
lines changed
6 files changed +12
-20
lines changed Original file line number Diff line number Diff line change 1
1
# vim:set ft=dockerfile:
2
- FROM alpine:3.5
2
+ FROM alpine:3.7
3
3
4
4
# alpine includes "postgres" user/group in base install
5
5
# /etc/passwd:22:postgres:x:70:70::/var/lib/postgresql:/bin/sh
@@ -60,7 +60,7 @@ RUN set -ex \
60
60
# openldap-dev \
61
61
openssl-dev \
62
62
# configure: error: prove not found
63
- perl \
63
+ perl-utils \
64
64
# configure: error: Perl module IPC::Run is required to run TAP tests
65
65
perl-ipc-run \
66
66
# perl-dev \
Original file line number Diff line number Diff line change 1
1
# vim:set ft=dockerfile:
2
- FROM alpine:3.5
2
+ FROM alpine:3.7
3
3
4
4
# alpine includes "postgres" user/group in base install
5
5
# /etc/passwd:22:postgres:x:70:70::/var/lib/postgresql:/bin/sh
@@ -57,7 +57,7 @@ RUN set -ex \
57
57
# openldap-dev \
58
58
openssl-dev \
59
59
# configure: error: prove not found
60
- perl \
60
+ perl-utils \
61
61
# configure: error: Perl module IPC::Run is required to run TAP tests
62
62
perl-ipc-run \
63
63
# perl-dev \
Original file line number Diff line number Diff line change 1
1
# vim:set ft=dockerfile:
2
- FROM alpine:3.5
2
+ FROM alpine:3.7
3
3
4
4
# alpine includes "postgres" user/group in base install
5
5
# /etc/passwd:22:postgres:x:70:70::/var/lib/postgresql:/bin/sh
@@ -57,7 +57,7 @@ RUN set -ex \
57
57
# openldap-dev \
58
58
openssl-dev \
59
59
# configure: error: prove not found
60
- perl \
60
+ perl-utils \
61
61
# configure: error: Perl module IPC::Run is required to run TAP tests
62
62
perl-ipc-run \
63
63
# perl-dev \
Original file line number Diff line number Diff line change 1
1
# vim:set ft=dockerfile:
2
- FROM alpine:3.5
2
+ FROM alpine:3.7
3
3
4
4
# alpine includes "postgres" user/group in base install
5
5
# /etc/passwd:22:postgres:x:70:70::/var/lib/postgresql:/bin/sh
@@ -57,7 +57,7 @@ RUN set -ex \
57
57
# openldap-dev \
58
58
openssl-dev \
59
59
# configure: error: prove not found
60
- perl \
60
+ perl-utils \
61
61
# configure: error: Perl module IPC::Run is required to run TAP tests
62
62
perl-ipc-run \
63
63
# perl-dev \
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ RUN set -ex \
58
58
# openldap-dev \
59
59
openssl-dev \
60
60
# configure: error: prove not found
61
- perl \
61
+ perl-utils \
62
62
# configure: error: Perl module IPC::Run is required to run TAP tests
63
63
perl-ipc-run \
64
64
# perl-dev \
Original file line number Diff line number Diff line change @@ -16,12 +16,9 @@ declare -A debianSuite=(
16
16
[9.6]=' jessie'
17
17
[10]=' stretch'
18
18
)
19
+ defaultAlpineVersion=' 3.7'
19
20
declare -A alpineVersion=(
20
- [9.3]=' 3.5'
21
- [9.4]=' 3.5'
22
- [9.5]=' 3.5'
23
- [9.6]=' 3.5'
24
- [10]=' 3.7'
21
+ # [9.6]='3.5'
25
22
)
26
23
27
24
packagesBase=' http://apt.postgresql.org/pub/repos/apt/dists/'
@@ -83,13 +80,8 @@ for version in "${versions[@]}"; do
83
80
sed -e ' s/%%PG_MAJOR%%/' " $version " ' /g' \
84
81
-e ' s/%%PG_VERSION%%/' " $srcVersion " ' /g' \
85
82
-e ' s/%%PG_SHA256%%/' " $srcSha256 " ' /g' \
86
- -e ' s/%%ALPINE-VERSION%%/' " ${alpineVersion[$version]} " ' /g' \
83
+ -e ' s/%%ALPINE-VERSION%%/' " ${alpineVersion[$version]:- $defaultAlpineVersion } " ' /g' \
87
84
" Dockerfile-$variant .template" > " $version /$variant /Dockerfile"
88
- if [ " ${alpineVersion[$version]} " != ' 3.5' ]; then
89
- # prove was moved out of the perl package and into perl-utils in 3.6
90
- # https://pkgs.alpinelinux.org/contents?file=prove&path=&name=&branch=&repo=&arch=x86_64
91
- sed -ri ' s/(\s+perl)(\s+)/\1-utils\2/' " $version /$variant /Dockerfile"
92
- fi
93
85
if [ " $majorVersion " = ' 9' ]; then
94
86
sed -i -e ' s/WALDIR/XLOGDIR/g' \
95
87
-e ' s/waldir/xlogdir/g' \
You can’t perform that action at this time.
0 commit comments