Skip to content

Commit

Permalink
Merge pull request #29 from GenomicDataInfrastructure/fix-upload-perm…
Browse files Browse the repository at this point in the history
…ission-denied

Reorder CKAN plugins and update Dockerfile permissions
  • Loading branch information
brunopacheco1 authored Jan 16, 2024
2 parents 777c8d3 + 7fd812a commit d121711
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions ckan/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,11 @@ RUN for d in $APP_DIR/patches/*; do \
fi ; \
done

ENV CKAN__PLUGINS="envvars image_view text_view recline_view scheming_datasets scheming_organizations gdi_userportal dcat harvest ckan_harvester dcat_rdf_harvester dcat_json_harvester dcat_json_interface oidc_pkce fairdatapointharvester"
ENV CKAN__PLUGINS="envvars image_view text_view recline_view scheming_datasets scheming_organizations dcat dcat_json_interface harvest ckan_harvester dcat_rdf_harvester dcat_json_harvester fairdatapointharvester oidc_pkce gdi_userportal"

COPY --chown=ckan:ckan setup/prerun.py ${APP_DIR}

RUN chown -R ckan:ckan "/var/lib/ckan"
# TODO
# 1. Remove this comand once the issue is fixed
# https://github.com/ckan/ckan-docker-base/issues/41
RUN chmod u+rwx "/var/lib/ckan"

0 comments on commit d121711

Please sign in to comment.