From 5e06bad941beb8b4a98b1d7cee2f12d97fc80a45 Mon Sep 17 00:00:00 2001 From: Disassembler Date: Mon, 26 Mar 2018 23:50:50 +0200 Subject: [PATCH] Provide MIME types for CKAN to recognize XLSX and ODS --- ckan/Dockerfile | 2 +- ckan/srv/ckan/conf/ckan.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ckan/Dockerfile b/ckan/Dockerfile index c46a0f3..75e8a4e 100644 --- a/ckan/Dockerfile +++ b/ckan/Dockerfile @@ -13,7 +13,7 @@ RUN \ # Add edge/testing repository echo '@edge http://dl-cdn.alpinelinux.org/alpine/edge/testing' >>/etc/apk/repositories \ # Install runtime dependencies - && apk --no-cache add geos@edge libjpeg-turbo libmagic libpq py2-pip zlib + && apk --no-cache add geos@edge libjpeg-turbo libmagic libpq mailcap py2-pip zlib RUN \ # Install build dependencies diff --git a/ckan/srv/ckan/conf/ckan.ini b/ckan/srv/ckan/conf/ckan.ini index beb3615..39818c6 100644 --- a/ckan/srv/ckan/conf/ckan.ini +++ b/ckan/srv/ckan/conf/ckan.ini @@ -176,7 +176,7 @@ ckan.max_image_size = 10 # Make sure you have set up the DataStore -ckan.datapusher.formats = csv xls xlsx tsv application/csv application/vnd.ms-excel application/vnd.openxmlformats-officedocument.spreadsheetml.sheet +#ckan.datapusher.formats = csv xls xlsx tsv application/csv application/vnd.ms-excel application/vnd.openxmlformats-officedocument.spreadsheetml.sheet ckan.datapusher.url = http://ckandp:8080/ #ckan.datapusher.assume_task_stale_after = 3600