use kaniko to build container
This commit is contained in:
parent
58abf18645
commit
56dd40596f
9 changed files with 26 additions and 19 deletions
|
@ -1,8 +0,0 @@
|
|||
#!/usr/bin/with-contenv sh
|
||||
|
||||
PGPASSWORD=$DB_PASSWORD psql -h $DB_HOST -U $DB_USER -d $DB_NAME -c "SELECT EXISTS (SELECT 1 FROM information_schema.tables WHERE table_name = 'session')" | grep f
|
||||
|
||||
if [ $? -ne 1 ]; then
|
||||
PGPASSWORD=$DB_PASSWORD psql -h $DB_HOST -U $DB_USER -d $DB_NAME -f /var/lib/roundcube/SQL/postgres.initial.sql
|
||||
fi
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue