Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the EXCLUDE_CONFIG_SSO_FEATURES flag #408

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Add the EXCLUDE_CONFIG_SSO_FEATURES flag #408

wants to merge 2 commits into from

Conversation

kabicin
Copy link
Member

@kabicin kabicin commented Jun 12, 2023

Fixes #389

@kabicin
Copy link
Member Author

kabicin commented Jun 12, 2023

Tested using jimmy1wu/sample-cognito by adding ARG SKIP_SSO_FEATURE_INSTALL=true before feature install.

FROM maven AS builder

WORKDIR /usr/src/app

COPY pom.xml .
COPY src src

RUN mvn package

FROM icr.io/appcafe/open-liberty:kernel-slim-java11-openj9-ubi

COPY --chown=1001:0 --from=builder /usr/src/app/src/main/liberty/config /config

ARG TLS=true
ARG SEC_SSO_PROVIDERS="oidc"
ARG SKIP_SSO_FEATURE_INSTALL=true

ENV SEC_TLS_TRUSTDEFAULTCERTS=true
ENV SEC_IMPORT_K8S_CERTS=true

RUN features.sh

COPY --chown=1001:0 --from=builder /usr/src/app/target/sample-cognito.war /config/apps

RUN configure.sh
Launching defaultServer (Open Liberty 23.0.0.5/wlp-1.0.77.cl230520230514-1901) on Eclipse OpenJ9 VM, version 11.0.19+7 (en_US)
[AUDIT   ] CWWKE0001I: The server defaultServer has been launched.
[AUDIT   ] CWWKG0093A: Processing configuration drop-ins resource: /opt/ol/wlp/usr/servers/defaultServer/configDropins/defaults/keystore.xml
[AUDIT   ] CWWKG0093A: Processing configuration drop-ins resource: /opt/ol/wlp/usr/servers/defaultServer/configDropins/defaults/open-default-port.xml
[AUDIT   ] CWWKG0093A: Processing configuration drop-ins resource: /opt/ol/wlp/usr/servers/defaultServer/configDropins/defaults/sso-oidc.xml
[AUDIT   ] CWWKG0093A: Processing configuration drop-ins resource: /opt/ol/wlp/usr/servers/defaultServer/configDropins/overrides/tls.xml
[AUDIT   ] CWWKG0093A: Processing configuration drop-ins resource: /opt/ol/wlp/usr/servers/defaultServer/configDropins/overrides/trustDefault.xml
[AUDIT   ] CWWKZ0058I: Monitoring dropins for applications.
[AUDIT   ] CWWKT0016I: Web application available (default_host): http://0d020a18e35c:9080/oauth2/
[AUDIT   ] CWWKT0016I: Web application available (default_host): http://0d020a18e35c:9080/ibm/api/social-login/
[AUDIT   ] CWWKT0016I: Web application available (default_host): http://0d020a18e35c:9080/jwt/
[AUDIT   ] CWWKT0016I: Web application available (default_host): http://0d020a18e35c:9080/
[AUDIT   ] CWWKZ0001I: Application sample-cognito started in 0.541 seconds.
[AUDIT   ] CWWKF0012I: The server installed the following features: [appSecurity-4.0, cdi-3.0, distributedMap-1.0, expressionLanguage-4.0, federatedRegistry-1.0, jndi-1.0, json-1.0, jsonp-2.0, jwt-1.0, ldapRegistry-3.0, oauth-2.0, pages-3.0, servlet-5.0, socialLogin-1.0, ssl-1.0, transportSecurity-1.0].
[AUDIT   ] CWWKF0011I: The defaultServer server is ready to run a smarter planet. The defaultServer server started in 3.313 seconds.

@kabicin kabicin marked this pull request as ready for review June 12, 2023 19:24
@kabicin kabicin requested a review from leochr June 12, 2023 19:24
@kabicin kabicin changed the title Add the SKIP_SSO_FEATURE_INSTALL flag Add the EXCLUDE_CONFIG_SSO_FEATURES flag Jun 26, 2023
@kabicin kabicin self-assigned this Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SVT: Enabling ARG SEC_SSO_PROVIDERS in Dockerfile causes conflicts with jakarta ee10 features
1 participant