@@ -3,10 +3,10 @@ VERSION 0.6
3
3
all :
4
4
ARG ELIXIR_BASE= 1.15.6-erlang-25.3.2.6-alpine-3.18.4
5
5
BUILD \
6
- --build-arg POSTGRES= 15.0 \
7
- --build-arg POSTGRES= 11.11 \
8
- --build-arg POSTGRES= 9.6 \
9
- --build-arg POSTGRES= 9.5 \
6
+ --build-arg POSTGRES= 16.2-alpine \
7
+ --build-arg POSTGRES= 11.11-alpine \
8
+ --build-arg POSTGRES= 9.6-alpine \
9
+ --build-arg POSTGRES= 9.5-alpine \
10
10
+integration-test-postgres
11
11
12
12
BUILD \
@@ -41,19 +41,19 @@ integration-test-postgres:
41
41
FROM +setup-base
42
42
ARG POSTGRES= "11.11"
43
43
44
- IF [ "$POSTGRES" = "9.5" ]
44
+ IF [ "$POSTGRES" = "9.5-alpine " ]
45
45
# for 9.5 we require a downgraded version of pg_dump;
46
46
# and in the 3.4 version, it is not included in postgresql-client but rather in postgresql
47
47
RUN echo 'http://dl-cdn.alpinelinux.org/alpine/v3.4/main' >> /etc/apk/repositories
48
48
RUN apk add postgresql= 9.5.13-r0
49
- ELSE IF [ "$POSTGRES" = "15.0 " ]
50
- # for 15.0 we need an upgraded version of pg_dump;
51
- # alpine 3.17 does not come with the postgres 15 client by default;
49
+ ELSE IF [ "$POSTGRES" = "16.2-alpine " ]
50
+ # for 16 we need an upgraded version of pg_dump;
51
+ # alpine 3.16 does not come with the postgres 16 client by default;
52
52
# we must first update the public keys for the packages because they
53
53
# might have been rotated since our image was built
54
- RUN apk add -X https://dl-cdn.alpinelinux.org/alpine/v3.17 /main -u alpine-keys
55
- RUN echo 'http://dl-cdn.alpinelinux.org/alpine/v3.17 /main' >> /etc/apk/repositories
56
- RUN apk add postgresql15 -client
54
+ RUN apk add -X https://dl-cdn.alpinelinux.org/alpine/v3.19 /main -u alpine-keys
55
+ RUN echo 'http://dl-cdn.alpinelinux.org/alpine/v3.19 /main' >> /etc/apk/repositories
56
+ RUN apk add postgresql16 -client
57
57
ELSE
58
58
RUN apk add postgresql-client
59
59
END
0 commit comments