Fixes: https://github.com/ckan/ckan-docker/issues/104 Adds `--chown` flag to `COPY` command in PostgreSQL Dockerfile to ensure that initialization files can be executed by `postgres` user.
5 lines
156 B
Docker
Executable File
5 lines
156 B
Docker
Executable File
FROM postgres:12-alpine
|
|
|
|
# Include extra setup scripts (eg datastore)
|
|
COPY --chown=postgres:postgres docker-entrypoint-initdb.d /docker-entrypoint-initdb.d
|