Skip to content

Commit

Permalink
remove init script and update ckanext-lhm version
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Bayr committed Jan 9, 2024
1 parent 535f82c commit b3519d3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ are alway pinned to a stable release number or commit hash.
| [`password_policy`](https://github.com/keitaroinc/ckanext-password-policy) | `5618dc9`|:heavy_check_mark: |:heavy_check_mark:| :heavy_check_mark: | :heavy_check_mark: | CKAN extension that adds password policy for all the users. |
| [`resourcedictionary`](https://github.com/keitaroinc/ckanext-resourcedictionary) | `v1.0.0` | | | | :heavy_check_mark: | Extends the default CKAN Data Dictionary functionality by adding possibility to create data dictionary before actual data is uploaded to datastore. |
| [`xloader`](https://github.com/ckan/ckanext-xloader) | `1.0.1` | | | | :heavy_check_mark: | Provides a faster and more robust way to load data into CKAN's DataStore. |
| [`lhm`](https://github.com/gislab-augsburg/ckanext-lhm) | `5975207` | | | | :heavy_check_mark: | Adds options for a custom metadata schema, custom theming and an adapted set of groups and topics, provided by Landeshauptstadt München (LHM). |
| [`lhm`](https://github.com/MandanaMoshref/ckanext-lhm) | `cca4bcb` | | | | :heavy_check_mark: | Adds options for a custom metadata schema, custom theming and an adapted set of groups and topics, provided by Landeshauptstadt München (LHM). |
| [`harvest`](https://github.com/ckan/ckanext-harvest) | `v1.5.6` | | | | :heavy_check_mark: | Provides a framework and management tools for automatic harvesting of other metatdata catalogs. |
| [`qgov`](https://github.com/qld-gov-au/ckanext-qgov) | `6.0.2` | | | | :heavy_check_mark: | Adds extended security and GDPR features. |

Expand Down
12 changes: 7 additions & 5 deletions sddi-urban/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,15 @@ RUN set -ex && \
git+${CKANEXT_XLOADER_GITHUB_URL}.git@${CKANEXT_XLOADER_VERSION}#egg=ckanext-xloader

# ckanext-lhm ##########################################################
ARG CKANEXT_LHM_VERSION="5975207"
ARG CKANEXT_LHM_VERSION="cca4bcb"
ENV CKANEXT_LHM_VERSION=${CKANEXT_LHM_VERSION}
ENV CKANEXT_LHM_GITHUB_URL="https://github.com/gislab-augsburg/ckanext-lhm"
ENV CKANEXT_LHM_GITHUB_URL="https://github.com/MandanaMoshref/ckanext-lhm"

RUN set -ex && \
pip install -r \
https://raw.githubusercontent.com/gislab-augsburg/ckanext-lhm/${CKANEXT_LHM_VERSION}/requirements.txt && \
https://raw.githubusercontent.com/MandanaMoshref/ckanext-lhm/${CKANEXT_LHM_VERSION}/requirements.txt && \
curl -o /wheels/ckanext-lhm.txt \
https://raw.githubusercontent.com/gislab-augsburg/ckanext-lhm/${CKANEXT_LHM_VERSION}/requirements.txt && \
https://raw.githubusercontent.com/MandanaMoshref/ckanext-lhm/${CKANEXT_LHM_VERSION}/requirements.txt && \
pip wheel --wheel-dir=/wheels \
git+${CKANEXT_LHM_GITHUB_URL}.git@${CKANEXT_LHM_VERSION}#egg=ckanext-lhm

Expand Down Expand Up @@ -197,6 +197,8 @@ RUN set -ex && \
ckan config-tool "${CKAN_INI}" "ckanext.geoview.shp_viewer.srid = 4326" && \
ckan config-tool "${CKAN_INI}" "ckanext.geoview.shp_viewer.encoding = UTF-8" && \
# Remove wheels
rm -rf ${APP_DIR}/ext_wheels
rm -rf ${APP_DIR}/ext_wheels && \
# Remove init script
rm -f ${APP_DIR}/docker-afterinit.d/01_create_groups.sh

USER ckan

0 comments on commit b3519d3

Please sign in to comment.