Skip to content

Commit 22fa0d1

Browse files
committed
Fix broken Dockerfile caused by changes in Docker Library removing usage of postgres --single @66c7b2de
1 parent e65a480 commit 22fa0d1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

create_extension.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
#
44
# Running CREATE EXTENSION in both template1 and postgres can lead to
55
# the extensions having different eid's.
6-
gosu postgres postgres --single template1 -E <<-EOSQL
7-
CREATE EXTENSION hstore;
8-
DROP DATABASE postgres;
9-
CREATE DATABASE postgres TEMPLATE template1;
6+
gosu postgres psql --dbname template1 <<EOSQL
7+
CREATE EXTENSION hstore;
8+
DROP DATABASE postgres;
9+
CREATE DATABASE postgres TEMPLATE template1;
1010
EOSQL
1111

0 commit comments

Comments
 (0)