Skip to content

Commit e7b3da3

Browse files
committed
use postgres v12
1 parent 1381db6 commit e7b3da3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# ref: https://github.com/docker-library/postgres/issues/340
2-
FROM postgres:13 AS extension_builder
2+
FROM postgres:12 AS extension_builder
33

44
# Already download extension code
55
RUN cd / && mkdir external_extensions && mkdir /external_extensions/sequential-uuids
@@ -20,8 +20,8 @@ FROM postgres:13
2020
#if use alpine: the paths are different!
2121

2222
# run find / -name 'sequential_uuids*' to find newly compiled files and copy to next stage
23-
COPY --from=extension_builder /usr/lib/postgresql/13/lib /usr/lib/postgresql/13/lib
24-
COPY --from=extension_builder /usr/share/postgresql/13/extension /usr/share/postgresql/13/extension
23+
COPY --from=extension_builder /usr/lib/postgresql/12/lib /usr/lib/postgresql/12/lib
24+
COPY --from=extension_builder /usr/share/postgresql/12/extension /usr/share/postgresql/12/extension
2525

2626
# after in sql:
2727
# CREATE EXTENSION sequential_uuids;

0 commit comments

Comments
 (0)