Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docker-admin-ui/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ EXPOSE 8080

RUN mkdir -p /app/static/rdbm /app/schema /app/templates/admin-ui

ENV JANS_SOURCE_VERSION=04d297c046dd9d8ef54c0544e6187153b7ed87cf
ENV JANS_SOURCE_VERSION=88d8e89acc598b9ddf68659b0a51c3c9e3b712f0
ARG JANS_SETUP_DIR=jans-linux-setup/jans_setup

# note that as we're pulling from a monorepo (with multiple project in it)
Expand All @@ -44,7 +44,7 @@ RUN git clone --depth ${GIT_CLONE_DEPTH} --filter blob:none --no-checkout https:

WORKDIR /tmp/flex

ENV FLEX_SOURCE_VERSION=dc807c4e8678477258e730206ab89da412b13594
ENV FLEX_SOURCE_VERSION=7dd724efc02c20c9f22fac0eb90bbf9948202415
ARG FLEX_SETUP_DIR=flex-linux-setup/flex_linux_setup

RUN git clone --depth ${GIT_CLONE_DEPTH} --filter blob:none --no-checkout https://github.com/GluuFederation/flex . \
Expand Down
13 changes: 8 additions & 5 deletions docker-flex-all-in-one/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,19 @@ RUN ln -sf /app/flex_aio/admin_ui/entrypoint.sh /app/bin/admin-ui-entrypoint.sh
# Assets sync
# ===========

ENV JANS_SOURCE_VERSION=408db95b458691c2b307b51fe180f9cc61b4eb95
ENV JANS_SOURCE_VERSION=88d8e89acc598b9ddf68659b0a51c3c9e3b712f0

# note that as we're pulling from a monorepo (with multiple project in it)
# we are using partial-clone and sparse-checkout to get the assets
ARG GIT_CLONE_DEPTH=100
RUN git clone --depth ${GIT_CLONE_DEPTH} --filter blob:none --no-checkout https://github.com/janssenproject/jans /tmp/jans \
&& cd /tmp/jans \
WORKDIR /tmp/jans

RUN git clone --depth ${GIT_CLONE_DEPTH} --filter blob:none --no-checkout https://github.com/janssenproject/jans . \
&& git sparse-checkout init --cone \
&& git checkout ${JANS_SOURCE_VERSION} \
&& git sparse-checkout add jans-pycloudlib
&& git sparse-checkout add jans-pycloudlib \
&& git checkout ${JANS_SOURCE_VERSION}

WORKDIR /

# ------
# Python
Expand Down
Loading