Skip to content

Commit

Permalink
install noanonaccess, roll back keycloak
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Bayr committed Jun 17, 2024
1 parent d93098b commit fcb2a0e
Showing 1 changed file with 25 additions and 12 deletions.
37 changes: 25 additions & 12 deletions sddi-urban/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -129,18 +129,27 @@ RUN set -ex && \
pip wheel --wheel-dir=/wheels \
git+${CKANEXT_ISO_GITHUB_URL}.git@${CKANEXT_ISO_VERSION}#egg=ckanext-iso

# ckanext-keycloak ##########################################################
ARG CKANEXT_KEYCLOAK_VERSION="v2.1"
ENV CKANEXT_KEYCLOAK_VERSION=${CKANEXT_KEYCLOAK_VERSION}
ENV CKANEXT_KEYCLOAK_GITHUB_URL="https://github.com/keitaroinc/ckanext-keycloak"
## ckanext-keycloak ##########################################################
#ARG CKANEXT_KEYCLOAK_VERSION="v2.1"
#ENV CKANEXT_KEYCLOAK_VERSION=${CKANEXT_KEYCLOAK_VERSION}
#ENV CKANEXT_KEYCLOAK_GITHUB_URL="https://github.com/keitaroinc/ckanext-keycloak"
#
#RUN set -ex && \
# pip install -r \
# https://raw.githubusercontent.com/keitaroinc/ckanext-keycloak/${CKANEXT_KEYCLOAK_VERSION}/requirements.txt && \
# curl -o /wheels/ckanext-keycloak.txt \
# https://raw.githubusercontent.com/keitaroinc/ckanext-keycloak/${CKANEXT_KEYCLOAK_VERSION}/requirements.txt && \
# pip wheel --wheel-dir=/wheels \
# git+${CKANEXT_KEYCLOAK_GITHUB_URL}.git@${CKANEXT_KEYCLOAK_VERSION}#egg=ckanext-keycloak

# ckanext-noanonaccess ##########################################################
ARG CKANEXT_ISO_VERSION="v2.0.4"
ENV CKANEXT_ISO_VERSION=${CKANEXT_ISO_VERSION}
ENV CKANEXT_ISO_GITHUB_URL="https://github.com/datopian/ckanext-noanonaccess"

RUN set -ex && \
pip install -r \
https://raw.githubusercontent.com/keitaroinc/ckanext-keycloak/${CKANEXT_KEYCLOAK_VERSION}/requirements.txt && \
curl -o /wheels/ckanext-keycloak.txt \
https://raw.githubusercontent.com/keitaroinc/ckanext-keycloak/${CKANEXT_KEYCLOAK_VERSION}/requirements.txt && \
pip wheel --wheel-dir=/wheels \
git+${CKANEXT_KEYCLOAK_GITHUB_URL}.git@${CKANEXT_KEYCLOAK_VERSION}#egg=ckanext-keycloak
git+${CKANEXT_ISO_GITHUB_URL}.git@${CKANEXT_ISO_VERSION}#egg=ckanext-noanonaccess


# #############################################################################
Expand Down Expand Up @@ -211,10 +220,14 @@ RUN set -ex && \
RUN set -ex && \
pip install --no-index --find-links=${APP_DIR}/ext_wheels ckanext-iso

# ckanext-keycloak #################################################################
## ckanext-keycloak #################################################################
#RUN set -ex && \
# pip install -r ${APP_DIR}/ext_wheels/ckanext-keycloak.txt && \
# pip install --no-index --find-links=${APP_DIR}/ext_wheels ckanext-keycloak

# ckanext-iso #############################################################
RUN set -ex && \
pip install -r ${APP_DIR}/ext_wheels/ckanext-keycloak.txt && \
pip install --no-index --find-links=${APP_DIR}/ext_wheels ckanext-keycloak
pip install --no-index --find-links=${APP_DIR}/ext_wheels ckanext-noanonaccess

# install supervisor ########################################################
RUN set -ex && \
Expand Down

0 comments on commit fcb2a0e

Please sign in to comment.