Bump base image (#538)
[discourse_docker.git] / image / discourse_dev / ensure-database
CommitLineData
da1fb55e
S
1#!/bin/bash
2
3if [ ! -f /shared/postgres_data/PG_VERSION ]; then
4 mkdir -p /shared/postgres_data
da1fb55e
S
5 chown -R postgres:postgres /shared/postgres_data
6 chmod 700 /shared/postgres_data
3447089f 7 cp -R /shared/postgres_data_orig/* /shared/postgres_data
36613df9
S
8 chown -R postgres:postgres /shared/postgres_data
9 chmod 700 /shared/postgres_data
da1fb55e 10fi