From 72e668622d12e434c663eb25924ed789e22495a3 Mon Sep 17 00:00:00 2001 From: Dariusz Niemczyk Date: Tue, 11 Jul 2023 17:53:17 +0200 Subject: [PATCH] Remove unnecessary create_extension --- postgres-hstore/Dockerfile | 3 --- postgres-hstore/create_extension.sh | 16 ---------------- 2 files changed, 19 deletions(-) delete mode 100644 postgres-hstore/Dockerfile delete mode 100755 postgres-hstore/create_extension.sh diff --git a/postgres-hstore/Dockerfile b/postgres-hstore/Dockerfile deleted file mode 100644 index 7b59873..0000000 --- a/postgres-hstore/Dockerfile +++ /dev/null @@ -1,3 +0,0 @@ -FROM postgres:9.6.17@sha256:5b39dd4a26a02fee26902c84d8bafb2eb0ab9a2874fb0be22056107aa6508899 -MAINTAINER Piotr Dobrowolski -ADD create_extension.sh /docker-entrypoint-initdb.d/create_extension.sh diff --git a/postgres-hstore/create_extension.sh b/postgres-hstore/create_extension.sh deleted file mode 100755 index 3d931de..0000000 --- a/postgres-hstore/create_extension.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash -set -e - -# Because both template1 and the user postgres database have already been created, -# we need to create the hstore extension in template1 and then recreate the postgres database. -# -# Running CREATE EXTENSION in both template1 and postgres can lead to -# the extensions having different eid's. -psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname template1 <