Skip to content

Commit

Permalink
sddi-base successful build, no pg deps
Browse files Browse the repository at this point in the history
  • Loading branch information
BWibo committed Sep 6, 2023
1 parent 999f176 commit 0d6b8fd
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions sddi-base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ ENV CKAN__PLUGINS "image_view text_view recline_view datastore datapusher \
envvars"

# Extra env for compatibility with ckan/base Docker images for downstream k8s
ENV CKAN_INI=${APP_DIR}/production.ini
ENV CKAN_INI=${APP_DIR}/ckan.ini
ENV CKAN_STORAGE_PATH=/var/lib/ckan
ENV TZ="UTC"

Expand Down Expand Up @@ -198,10 +198,11 @@ RUN set -ex && \
pip install --no-index --find-links=${APP_DIR}/ext_wheels ckanext-repeating

# Copy init scripts and additional files
COPY --chown=ckan:ckan initScripts/ ${APP_DIR}/docker-afterinit.d
# COPY --chown=ckan:ckan initScripts/ ${APP_DIR}/docker-afterinit.d
COPY --chown=ckan:ckan initScripts/ /docker-entrypoint.d/

RUN set -ex && \
pip install -U pip \
pip install -U pip && \
pip install --upgrade Jinja2 && \
ckan config-tool "${CKAN_INI}" "ckan.plugins = ${CKAN__PLUGINS}" && \
ckan config-tool "${CKAN_INI}" "ckan.spatial.srid = 4326" && \
Expand All @@ -216,6 +217,4 @@ RUN set -ex && \
# Remove wheels
rm -rf ${APP_DIR}/ext_wheels

# pip install markupsafe==2.0.1 && \

USER ckan

0 comments on commit 0d6b8fd

Please sign in to comment.