From d4723599ac7163b4570a1df3a703786cb36733e3 Mon Sep 17 00:00:00 2001 From: "A. Soroka" Date: Mon, 20 Nov 2023 12:10:09 -0500 Subject: [PATCH 1/2] Update Dockerfile 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. --- postgresql/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postgresql/Dockerfile b/postgresql/Dockerfile index f69e0da9..4caf7765 100755 --- a/postgresql/Dockerfile +++ b/postgresql/Dockerfile @@ -1,4 +1,4 @@ FROM postgres:12-alpine # Include extra setup scripts (eg datastore) -COPY docker-entrypoint-initdb.d /docker-entrypoint-initdb.d \ No newline at end of file +COPY --chown=postgres:postgres docker-entrypoint-initdb.d /docker-entrypoint-initdb.d From f0c1e970972e3b0e061c7ec89a326850f98131a5 Mon Sep 17 00:00:00 2001 From: Brett Date: Mon, 18 Dec 2023 12:08:59 +1100 Subject: [PATCH 2/2] Update CKAN Dockerfiles --- ckan/Dockerfile | 2 +- ckan/Dockerfile.dev | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ckan/Dockerfile b/ckan/Dockerfile index ea891057..5a1ee544 100644 --- a/ckan/Dockerfile +++ b/ckan/Dockerfile @@ -1,4 +1,4 @@ -FROM ckan/ckan-base:2.10.1 +FROM ckan/ckan-base:2.10.3 # Install any extensions needed by your CKAN instance # See Dockerfile.dev for more details and examples diff --git a/ckan/Dockerfile.dev b/ckan/Dockerfile.dev index 58dacebb..52ed9753 100644 --- a/ckan/Dockerfile.dev +++ b/ckan/Dockerfile.dev @@ -1,4 +1,4 @@ -FROM ckan/ckan-dev:2.10.1 +FROM ckan/ckan-dev:2.10.3 # Install any extensions needed by your CKAN instance # - Make sure to add the plugins to CKAN__PLUGINS in the .env file