Skip to content

Commit

Permalink
use sql instead of sh
Browse files Browse the repository at this point in the history
  • Loading branch information
takahashim committed Jul 22, 2024
1 parent d5d4b9e commit e88330a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 20 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ RUN cd /tmp && \
rm -rf /tmp/pg_bigm-1.2-20240606 /tmp/v1.2-20240606.tar.gz

RUN mkdir -p /docker-entrypoint-initdb.d
COPY ./initdb-pg_bigm.sh /docker-entrypoint-initdb.d/10_pg_bigm.sh
COPY ./initdb-pg_bigm.sql /docker-entrypoint-initdb.d/10_pg_bigm.sql
# RUN echo shared_preload_libraries='pg_bigm' >> /var/lib/postgresql/data/postgresql.conf
19 changes: 0 additions & 19 deletions initdb-pg_bigm.sh

This file was deleted.

1 change: 1 addition & 0 deletions initdb-pg_bigm.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CREATE EXTENSION IF NOT EXISTS pg_bigm;

0 comments on commit e88330a

Please sign in to comment.