File tree 4 files changed +8
-12
lines changed
4 files changed +8
-12
lines changed Original file line number Diff line number Diff line change 19
19
COPY --from=extension_builder /usr/local/lib/postgresql/ /usr/local/lib/postgresql/
20
20
COPY --from=extension_builder /usr/local/share/postgresql/extension /usr/local/share/postgresql/extension
21
21
22
- # ref: https://github.com/ docker-library/postgres/issues/340
22
+ RUN echo "CREATE EXTENSION IF NOT EXISTS sequential_uuids;" > / docker-entrypoint-initdb.d/create_sequential_uuids.sql
23
23
24
- # after in sql:
25
- # CREATE EXTENSION sequential_uuids;
24
+ # ref: https://github.com/docker-library/postgres/issues/340
Original file line number Diff line number Diff line change 21
21
COPY --from=extension_builder /usr/lib/postgresql/${pg_version_in_path}/lib /usr/lib/postgresql/${pg_version_in_path}/lib
22
22
COPY --from=extension_builder /usr/share/postgresql/${pg_version_in_path}/extension /usr/share/postgresql/${pg_version_in_path}/extension
23
23
24
- # ref: https://github.com/ docker-library/postgres/issues/340
24
+ RUN echo "CREATE EXTENSION IF NOT EXISTS sequential_uuids;" > / docker-entrypoint-initdb.d/create_sequential_uuids.sql
25
25
26
- # after in sql:
27
- # CREATE EXTENSION sequential_uuids;
26
+ # ref: https://github.com/docker-library/postgres/issues/340
Original file line number Diff line number Diff line change 19
19
COPY --from=extension_builder /usr/local/lib/postgresql/ /usr/local/lib/postgresql/
20
20
COPY --from=extension_builder /usr/local/share/postgresql/extension /usr/local/share/postgresql/extension
21
21
22
- # ref: https://github.com/ docker-library/postgres/issues/340
22
+ RUN echo "CREATE EXTENSION IF NOT EXISTS sequential_uuids;" > / docker-entrypoint-initdb.d/create_sequential_uuids.sql
23
23
24
- # after in sql:
25
- # CREATE EXTENSION sequential_uuids;
24
+ # ref: https://github.com/docker-library/postgres/issues/340
Original file line number Diff line number Diff line change 21
21
COPY --from=extension_builder /usr/lib/postgresql/${pg_version_in_path}/lib /usr/lib/postgresql/${pg_version_in_path}/lib
22
22
COPY --from=extension_builder /usr/share/postgresql/${pg_version_in_path}/extension /usr/share/postgresql/${pg_version_in_path}/extension
23
23
24
- # ref: https://github.com/ docker-library/postgres/issues/340
24
+ RUN echo "CREATE EXTENSION IF NOT EXISTS sequential_uuids;" > / docker-entrypoint-initdb.d/create_sequential_uuids.sql
25
25
26
- # after in sql:
27
- # CREATE EXTENSION sequential_uuids;
26
+ # ref: https://github.com/docker-library/postgres/issues/340
You can’t perform that action at this time.
0 commit comments