Skip to content

Commit

Permalink
Merge branch 'main' into jans-jetty-upgrade
Browse files Browse the repository at this point in the history
# Conflicts:
#	jans-auth-server/server/src/main/java/io/jans/as/server/authorize/ws/rs/AuthzRequest.java
  • Loading branch information
yuriyz committed Apr 22, 2022
2 parents 21bcc8d + 230f987 commit 3ff7957
Show file tree
Hide file tree
Showing 11 changed files with 141 additions and 150 deletions.
2 changes: 1 addition & 1 deletion automation/startjanssendemo.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
set -euo pipefail
set -eo pipefail
JANS_FQDN=$1
JANS_PERSISTENCE=$2
JANS_CI_CD_RUN=$3
Expand Down
17 changes: 9 additions & 8 deletions docker-jans-auth-server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
FROM bellsoft/liberica-openjre-alpine:11.0.13-8
FROM bellsoft/liberica-openjre-alpine:11.0.15

# ===============
# Alpine packages
# ===============

RUN apk update \
&& apk upgrade \
&& apk add --no-cache openssl py3-pip tini curl bash py3-cryptography py3-psycopg2 \
&& apk add --no-cache --repository=https://dl-cdn.alpinelinux.org/alpine/v3.15/community py3-grpcio \
&& apk add --no-cache --virtual build-deps wget git zip \
&& apk add --no-cache openssl python3 tini curl bash py3-cryptography py3-psycopg2 py3-grpcio \
&& apk add --no-cache --virtual .build-deps wget git zip \
&& mkdir -p /usr/java/latest \
&& ln -sf /usr/lib/jvm/jre /usr/java/latest/jre

Expand Down Expand Up @@ -56,7 +55,7 @@ RUN /opt/jython/bin/pip uninstall -y pip
# ===========

ENV CN_VERSION=1.0.0-SNAPSHOT
ENV CN_BUILD_DATE='2022-03-28 08:56'
ENV CN_BUILD_DATE='2022-04-21 10:27'
ENV CN_SOURCE_URL=https://jenkins.jans.io/maven/io/jans/jans-auth-server/${CN_VERSION}/jans-auth-server-${CN_VERSION}.war

# Install Jans Auth
Expand Down Expand Up @@ -109,14 +108,16 @@ RUN git clone --filter blob:none --no-checkout https://github.com/GluuFederation
# ======

COPY requirements.txt /app/requirements.txt
RUN pip3 install -U pip wheel \
&& pip3 install --no-cache-dir --default-timeout=300 -r /app/requirements.txt
RUN python3 -m ensurepip \
&& pip3 install --no-cache-dir -U pip wheel \
&& pip3 install --no-cache-dir --default-timeout=300 -r /app/requirements.txt \
&& pip3 uninstall -y pip wheel

# =======
# Cleanup
# =======

RUN apk del build-deps \
RUN apk del .build-deps \
&& rm -rf /var/cache/apk/*

# =======
Expand Down
17 changes: 9 additions & 8 deletions docker-jans-certmanager/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
FROM bellsoft/liberica-openjre-alpine:11.0.13-8
FROM bellsoft/liberica-openjre-alpine:11.0.15

# ===============
# Alpine packages
# ===============

RUN apk update \
&& apk upgrade \
&& apk add --no-cache openssl py3-pip curl tini py3-cryptography py3-psycopg2 \
&& apk add --no-cache --repository=https://dl-cdn.alpinelinux.org/alpine/v3.15/community py3-grpcio \
&& apk add --no-cache --virtual build-deps wget git \
&& apk add --no-cache openssl python3 curl tini py3-cryptography py3-psycopg2 py3-grpcio \
&& apk add --no-cache --virtual .build-deps wget git \
&& mkdir -p /usr/java/latest \
&& ln -sf /usr/lib/jvm/jre /usr/java/latest/jre

Expand All @@ -18,7 +17,7 @@ RUN apk update \

# JAR files required to generate OpenID Connect keys
ENV CN_VERSION=1.0.0-SNAPSHOT
ENV CN_BUILD_DATE='2022-03-23 18:17'
ENV CN_BUILD_DATE='2022-04-21 10:21'
ENV CN_SOURCE_URL=https://jenkins.jans.io/maven/io/jans/jans-auth-client/${CN_VERSION}/jans-auth-client-${CN_VERSION}-jar-with-dependencies.jar

RUN wget -q ${CN_SOURCE_URL} -P /app/javalibs/
Expand All @@ -39,14 +38,16 @@ RUN wget -q ${CN_SOURCE_URL} -P /app/javalibs/
# ======

COPY requirements.txt /app/requirements.txt
RUN pip3 install --no-cache-dir -U pip wheel \
&& pip3 install --no-cache-dir -r /app/requirements.txt
RUN python3 -m ensurepip \
&& pip3 install --no-cache-dir -U pip wheel \
&& pip3 install --no-cache-dir -r /app/requirements.txt \
&& pip3 uninstall -y pip wheel

# =======
# Cleanup
# =======

RUN apk del build-deps \
RUN apk del .build-deps \
&& rm -rf /var/cache/apk/*

# =======
Expand Down
17 changes: 9 additions & 8 deletions docker-jans-client-api/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
FROM bellsoft/liberica-openjre-alpine:11.0.13-8
FROM bellsoft/liberica-openjre-alpine:11.0.15

# ===============
# Alpine packages
# ===============

RUN apk update \
&& apk upgrade \
&& apk add --no-cache openssl py3-pip tini curl py3-cryptography py3-psycopg2 \
&& apk add --no-cache --repository=https://dl-cdn.alpinelinux.org/alpine/v3.15/community py3-grpcio \
&& apk add --no-cache --virtual build-deps unzip wget git \
&& apk add --no-cache openssl python3 tini curl py3-cryptography py3-psycopg2 py3-grpcio \
&& apk add --no-cache --virtual .build-deps unzip wget git \
&& mkdir -p /usr/java/latest \
&& ln -sf /usr/lib/jvm/jre /usr/java/latest/jre

Expand All @@ -17,7 +16,7 @@ RUN apk update \
# ==========

ENV CN_VERSION=1.0.0-SNAPSHOT
ENV CN_BUILD_DATE='2022-03-23 08:49'
ENV CN_BUILD_DATE='2022-04-21 08:51'
ENV CN_SOURCE_URL=https://jenkins.jans.io/maven/io/jans/jans-client-api-server/${CN_VERSION}/jans-client-api-server-${CN_VERSION}-distribution.zip

RUN wget -q ${CN_SOURCE_URL} -O /tmp/client-api.zip \
Expand All @@ -33,14 +32,16 @@ EXPOSE 8443 8444
# ======

COPY requirements.txt /app/requirements.txt
RUN pip3 install -U pip wheel \
&& pip3 install --no-cache-dir -r /app/requirements.txt
RUN python3 -m ensurepip \
&& pip3 install --no-cache-dir -U pip wheel \
&& pip3 install --no-cache-dir -r /app/requirements.txt \
&& pip3 uninstall -y pip wheel

# =======
# Cleanup
# =======

RUN apk del build-deps \
RUN apk del .build-deps \
&& rm -rf /var/cache/apk/*

# =======
Expand Down
17 changes: 9 additions & 8 deletions docker-jans-config-api/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
FROM bellsoft/liberica-openjre-alpine:11.0.13-8
FROM bellsoft/liberica-openjre-alpine:11.0.15

# ===============
# Alpine packages
# ===============

RUN apk update \
&& apk upgrade \
&& apk add --no-cache openssl py3-pip tini curl py3-cryptography py3-psycopg2 \
&& apk add --no-cache --repository=https://dl-cdn.alpinelinux.org/alpine/v3.15/community py3-grpcio \
&& apk add --no-cache --virtual build-deps wget git zip \
&& apk add --no-cache openssl python3 tini curl py3-cryptography py3-psycopg2 py3-grpcio \
&& apk add --no-cache --virtual .build-deps wget git zip \
&& mkdir -p /usr/java/latest \
&& ln -sf /usr/lib/jvm/jre /usr/java/latest/jre

Expand All @@ -33,7 +32,7 @@ RUN wget -q https://repo1.maven.org/maven2/org/eclipse/jetty/jetty-home/${JETTY_
# ==========

ENV CN_VERSION=1.0.0-SNAPSHOT
ENV CN_BUILD_DATE='2022-03-28 10:22'
ENV CN_BUILD_DATE='2022-04-21 11:27'
ENV CN_SOURCE_URL=https://jenkins.jans.io/maven/io/jans/jans-config-api-server/${CN_VERSION}/jans-config-api-server-${CN_VERSION}.war

# Install Jans Config API
Expand Down Expand Up @@ -77,14 +76,16 @@ RUN wget -q ${ADMIN_UI_SOURCE_URL} -O /usr/share/java/admin-ui-plugin.jar
# ======

COPY requirements.txt /app/requirements.txt
RUN pip3 install -U pip wheel \
&& pip3 install --no-cache-dir --default-timeout=300 -r /app/requirements.txt
RUN python3 -m ensurepip \
&& pip3 install --no-cache-dir -U pip wheel \
&& pip3 install --no-cache-dir --default-timeout=300 -r /app/requirements.txt \
&& pip3 uninstall -y pip wheel

# =======
# Cleanup
# =======

RUN apk del build-deps \
RUN apk del .build-deps \
&& rm -rf /var/cache/apk/*

# =======
Expand Down
17 changes: 9 additions & 8 deletions docker-jans-configurator/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
FROM bellsoft/liberica-openjre-alpine:11.0.13-8
FROM bellsoft/liberica-openjre-alpine:11.0.15

# ===============
# Alpine packages
# ===============

RUN apk update \
&& apk upgrade \
&& apk add --no-cache openssl py3-pip curl tini py3-cryptography py3-psycopg2 \
&& apk add --no-cache --repository=https://dl-cdn.alpinelinux.org/alpine/v3.15/community py3-grpcio \
&& apk add --no-cache --virtual build-deps wget git \
&& apk add --no-cache openssl python3 curl tini py3-cryptography py3-psycopg2 py3-grpcio \
&& apk add --no-cache --virtual .build-deps wget git \
&& mkdir -p /usr/java/latest \
&& ln -sf /usr/lib/jvm/jre /usr/java/latest/jre

Expand All @@ -18,7 +17,7 @@ RUN apk update \

# JAR files required to generate OpenID Connect keys
ENV CN_VERSION=1.0.0-SNAPSHOT
ENV CN_BUILD_DATE='2022-03-23 18:17'
ENV CN_BUILD_DATE='2022-04-21 10:21'
ENV CN_SOURCE_URL=https://jenkins.jans.io/maven/io/jans/jans-auth-client/${CN_VERSION}/jans-auth-client-${CN_VERSION}-jar-with-dependencies.jar

RUN wget -q ${CN_SOURCE_URL} -P /app/javalibs/
Expand All @@ -38,14 +37,16 @@ RUN wget -q ${CN_SOURCE_URL} -P /app/javalibs/
# ======

COPY requirements.txt /app/requirements.txt
RUN pip3 install --no-cache-dir -U pip wheel \
&& pip3 install --no-cache-dir -r /app/requirements.txt
RUN python3 -m ensurepip \
&& pip3 install --no-cache-dir -U pip wheel \
&& pip3 install --no-cache-dir -r /app/requirements.txt \
&& pip3 uninstall -y pip wheel

# =======
# Cleanup
# =======

RUN apk del build-deps \
RUN apk del .build-deps \
&& rm -rf /var/cache/apk/*

# =======
Expand Down
17 changes: 9 additions & 8 deletions docker-jans-fido2/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
FROM bellsoft/liberica-openjre-alpine:11.0.14
FROM bellsoft/liberica-openjre-alpine:11.0.15

# ===============
# Alpine packages
# ===============

RUN apk update \
&& apk upgrade \
&& apk add --no-cache openssl py3-pip tini curl py3-cryptography py3-psycopg2 \
&& apk add --no-cache --repository=https://dl-cdn.alpinelinux.org/alpine/v3.15/community py3-grpcio \
&& apk add --no-cache --virtual build-deps wget git zip \
&& apk add --no-cache openssl python3 tini curl py3-cryptography py3-psycopg2 py3-grpcio \
&& apk add --no-cache --virtual .build-deps wget git zip \
&& mkdir -p /usr/java/latest \
&& ln -sf /usr/lib/jvm/jre /usr/java/latest/jre

Expand Down Expand Up @@ -36,7 +35,7 @@ EXPOSE 8080
# =====

ENV CN_VERSION=1.0.0-SNAPSHOT
ENV CN_BUILD_DATE='2022-04-05 11:33'
ENV CN_BUILD_DATE='2022-04-21 08:13'
ENV CN_SOURCE_URL=https://jenkins.jans.io/maven/io/jans/jans-fido2-server/${CN_VERSION}/jans-fido2-server-${CN_VERSION}.war

# Install FIDO2
Expand Down Expand Up @@ -88,14 +87,16 @@ RUN wget -q https://www.apple.com/certificateauthority/Apple_WebAuthn_Root_CA.pe
# ======

COPY requirements.txt /app/requirements.txt
RUN pip3 install -U pip wheel \
&& pip3 install --no-cache-dir -r /app/requirements.txt
RUN python3 -m ensurepip \
&& pip3 install --no-cache-dir -U pip wheel \
&& pip3 install --no-cache-dir -r /app/requirements.txt \
&& pip3 uninstall -y pip wheel

# =======
# Cleanup
# =======

RUN apk del build-deps \
RUN apk del .build-deps \
&& rm -rf /var/cache/apk/*

# =======
Expand Down
8 changes: 5 additions & 3 deletions docker-jans-persistence-loader/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,18 @@ FROM alpine:3.15.4

RUN apk update \
&& apk upgrade \
&& apk add --no-cache py3-pip curl tini py3-cryptography py3-psycopg2 py3-grpcio \
&& apk add --no-cache python3 curl tini py3-cryptography py3-psycopg2 py3-grpcio \
&& apk add --no-cache --virtual .build-deps git wget

# ======
# Python
# ======

COPY requirements.txt /app/requirements.txt
RUN pip3 install --no-cache-dir -U pip wheel \
&& pip3 install --no-cache-dir --default-timeout=300 -r /app/requirements.txt
RUN python3 -m ensurepip \
&& pip3 install --no-cache-dir -U pip wheel \
&& pip3 install --no-cache-dir --default-timeout=300 -r /app/requirements.txt \
&& pip3 uninstall -y pip wheel

# =====================
# jans-linux-setup sync
Expand Down
17 changes: 9 additions & 8 deletions docker-jans-scim/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
FROM bellsoft/liberica-openjre-alpine:11.0.13-8
FROM bellsoft/liberica-openjre-alpine:11.0.15

# ===============
# Alpine packages
# ===============

RUN apk update \
&& apk upgrade \
&& apk add --no-cache openssl py3-pip tini curl bash py3-cryptography py3-psycopg2 \
&& apk add --no-cache --repository=https://dl-cdn.alpinelinux.org/alpine/v3.15/community py3-grpcio \
&& apk add --no-cache --virtual build-deps wget git zip \
&& apk add --no-cache openssl python3 tini curl bash py3-cryptography py3-psycopg2 py3-grpcio \
&& apk add --no-cache --virtual .build-deps wget git zip \
&& mkdir -p /usr/java/latest \
&& ln -sf /usr/lib/jvm/jre /usr/java/latest/jre

Expand Down Expand Up @@ -46,7 +45,7 @@ RUN wget -q https://ox.gluu.org/maven/org/gluufederation/jython-installer/${JYTH
# ====

ENV CN_VERSION=1.0.0-SNAPSHOT
ENV CN_BUILD_DATE='2022-03-23 09:01'
ENV CN_BUILD_DATE='2022-04-21 10:29'
ENV CN_SOURCE_URL=https://jenkins.jans.io/maven/io/jans/jans-scim-server/${CN_VERSION}/jans-scim-server-${CN_VERSION}.war

# Install SCIM
Expand All @@ -65,14 +64,16 @@ RUN mkdir -p ${JETTY_BASE}/jans-scim/webapps \
# ======

COPY requirements.txt /app/requirements.txt
RUN pip3 install -U pip wheel \
&& pip3 install --no-cache-dir -r /app/requirements.txt
RUN python3 -m ensurepip \
&& pip3 install --no-cache-dir -U pip wheel \
&& pip3 install --no-cache-dir -r /app/requirements.txt \
&& pip3 uninstall -y pip wheel

# =======
# Cleanup
# =======

RUN apk del build-deps \
RUN apk del .build-deps \
&& rm -rf /var/cache/apk/*

# =======
Expand Down
Loading

0 comments on commit 3ff7957

Please sign in to comment.