ckan / ckan/ckan-postgres-dev

Do not download data when running

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Makefile
Stars
1
Forks
3
PR merge metrics
No merged PRs in 30d

Description

https://github.com/ckan/ckan-postgres-dev/blob/f8c1eca0853d82e3d1408bc613bcff47ead5ed65/docker-entrypoint-initdb.d/02_datastore_permissions.sh#L6-L13

Adding files should happen when building, not when running. How about using `ADD` in Dockerfile and avoid such `if` conditions to make things easier?

This would also make it possible to use non-alpine images, as regular Postgres images do not have `wget`, while the Alpine image has `wget` as an alias for `busybox`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.