diff --git a/README.md b/README.md index 26f50f4e..d4b59d52 100644 --- a/README.md +++ b/README.md @@ -7,8 +7,8 @@ This repository contains following Docker resources: Per profile Docker resources for WSO2 Identity Server and Analytics help you build generic Docker images for deploying the corresponding product servers in containerized environments. Each Docker image includes the JDK, the relevant product distribution -and a collection of utility libraries. Configurations, custom JDBC drivers other than the default MySQL JDBC driver provided, -extensions and other deployable artifacts are designed to be provided via volume mounts to the containers spawned. +and a collection of utility libraries. Configurations, custom JDBC drivers, extensions and other deployable artifacts +are designed to be provided via volume mounts to the containers spawned. Docker Compose files have been created according to the most common IAM deployment patterns available for allowing users to quickly evaluate product features along side their co-operate IAM requirements. The Compose files make use of per profile diff --git a/dockerfiles/alpine/is-analytics/dashboard/Dockerfile b/dockerfiles/alpine/is-analytics/dashboard/Dockerfile index edb3b969..efc9c514 100644 --- a/dockerfiles/alpine/is-analytics/dashboard/Dockerfile +++ b/dockerfiles/alpine/is-analytics/dashboard/Dockerfile @@ -1,6 +1,6 @@ # ------------------------------------------------------------------------ # -# Copyright 2018 WSO2, Inc. (http://wso2.com) +# Copyright 2024 WSO2, LLC. (http://wso2.com) # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -34,8 +34,6 @@ ARG WSO2_SERVER_VERSION=5.8.0 ARG WSO2_SERVER=${WSO2_SERVER_NAME}-${WSO2_SERVER_VERSION} ARG WSO2_SERVER_HOME=${USER_HOME}/${WSO2_SERVER} ARG WSO2_SERVER_DIST_URL=https://bintray.com/wso2/binaryGA/download_file?file_path=${WSO2_SERVER}.zip -# build arguments for external artifacts -ARG MYSQL_CONNECTOR_VERSION=5.1.47 # build argument for MOTD ARG MOTD='printf "\n\ Welcome to WSO2 Docker Resources \n\ @@ -61,8 +59,6 @@ RUN \ && unzip -d ${USER_HOME} ${WSO2_SERVER}.zip \ && chown wso2carbon:wso2 -R ${WSO2_SERVER_HOME} \ && rm -f ${WSO2_SERVER}.zip -# add MySQL JDBC connector to server home as a third party library -ADD --chown=wso2carbon:wso2 https://repo1.maven.org/maven2/mysql/mysql-connector-java/${MYSQL_CONNECTOR_VERSION}/mysql-connector-java-${MYSQL_CONNECTOR_VERSION}.jar ${WSO2_SERVER_HOME}/lib/ # set the user and work directory USER ${USER_ID} diff --git a/dockerfiles/alpine/is-analytics/worker/Dockerfile b/dockerfiles/alpine/is-analytics/worker/Dockerfile index 77d605ac..63935925 100644 --- a/dockerfiles/alpine/is-analytics/worker/Dockerfile +++ b/dockerfiles/alpine/is-analytics/worker/Dockerfile @@ -1,6 +1,6 @@ # ------------------------------------------------------------------------ # -# Copyright 2018 WSO2, Inc. (http://wso2.com) +# Copyright 2024 WSO2, LLC. (http://wso2.com) # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -34,8 +34,6 @@ ARG WSO2_SERVER_VERSION=5.8.0 ARG WSO2_SERVER=${WSO2_SERVER_NAME}-${WSO2_SERVER_VERSION} ARG WSO2_SERVER_HOME=${USER_HOME}/${WSO2_SERVER} ARG WSO2_SERVER_DIST_URL=https://bintray.com/wso2/binaryGA/download_file?file_path=${WSO2_SERVER}.zip -# build arguments for external artifacts -ARG MYSQL_CONNECTOR_VERSION=5.1.47 # build argument for MOTD ARG MOTD='printf "\n\ Welcome to WSO2 Docker Resources \n\ @@ -61,8 +59,6 @@ RUN \ && unzip -d ${USER_HOME} ${WSO2_SERVER}.zip \ && chown wso2carbon:wso2 -R ${WSO2_SERVER_HOME} \ && rm -f ${WSO2_SERVER}.zip -# add MySQL JDBC connector to server home as a third party library -ADD --chown=wso2carbon:wso2 https://repo1.maven.org/maven2/mysql/mysql-connector-java/${MYSQL_CONNECTOR_VERSION}/mysql-connector-java-${MYSQL_CONNECTOR_VERSION}.jar ${WSO2_SERVER_HOME}/lib/ # set the user and work directory USER ${USER_ID} diff --git a/dockerfiles/alpine/is/Dockerfile b/dockerfiles/alpine/is/Dockerfile index f1b7d0e1..961e91cd 100644 --- a/dockerfiles/alpine/is/Dockerfile +++ b/dockerfiles/alpine/is/Dockerfile @@ -1,6 +1,6 @@ # ------------------------------------------------------------------------ # -# Copyright 2018 WSO2, Inc. (http://wso2.com) +# Copyright 2024 WSO2, LLC. (http://wso2.com) # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -86,7 +86,6 @@ ARG WSO2_SERVER_DIST_URL=https://bintray.com/wso2/binaryGA/download_file?file_pa # build arguments for external artifacts ARG DNS_JAVA_VERSION=2.1.8 ARG K8S_MEMBERSHIP_SCHEME_VERSION=1.0.7 -ARG MYSQL_CONNECTOR_VERSION=5.1.47 # build argument for MOTD ARG MOTD='printf "\n\ Welcome to WSO2 Docker Resources \n\ @@ -130,8 +129,6 @@ RUN \ # add libraries for Kubernetes membership scheme based clustering ADD --chown=wso2carbon:wso2 https://repo1.maven.org/maven2/dnsjava/dnsjava/${DNS_JAVA_VERSION}/dnsjava-${DNS_JAVA_VERSION}.jar ${WSO2_SERVER_HOME}/repository/components/lib ADD --chown=wso2carbon:wso2 http://maven.wso2.org/nexus/content/repositories/releases/org/wso2/carbon/kubernetes/artifacts/kubernetes-membership-scheme/${K8S_MEMBERSHIP_SCHEME_VERSION}/kubernetes-membership-scheme-${K8S_MEMBERSHIP_SCHEME_VERSION}.jar ${WSO2_SERVER_HOME}/repository/components/dropins/ -# add MySQL JDBC connector to server home as a third party library -ADD --chown=wso2carbon:wso2 https://repo1.maven.org/maven2/mysql/mysql-connector-java/${MYSQL_CONNECTOR_VERSION}/mysql-connector-java-${MYSQL_CONNECTOR_VERSION}.jar ${WSO2_SERVER_HOME}/repository/components/dropins/ # set the user and work directory USER ${USER_ID} diff --git a/dockerfiles/centos/is-analytics/dashboard/Dockerfile b/dockerfiles/centos/is-analytics/dashboard/Dockerfile index 4b52ffb7..af6b127d 100644 --- a/dockerfiles/centos/is-analytics/dashboard/Dockerfile +++ b/dockerfiles/centos/is-analytics/dashboard/Dockerfile @@ -1,6 +1,6 @@ # ------------------------------------------------------------------------ # -# Copyright 2018 WSO2, Inc. (http://wso2.com) +# Copyright 2024 WSO2, LLC. (http://wso2.com) # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -64,8 +64,6 @@ ARG WSO2_SERVER_VERSION=5.8.0 ARG WSO2_SERVER=${WSO2_SERVER_NAME}-${WSO2_SERVER_VERSION} ARG WSO2_SERVER_HOME=${USER_HOME}/${WSO2_SERVER} ARG WSO2_SERVER_DIST_URL=https://bintray.com/wso2/binaryGA/download_file?file_path=${WSO2_SERVER}.zip -# build arguments for external artifacts -ARG MYSQL_CONNECTOR_VERSION=5.1.47 # build argument for MOTD ARG MOTD='printf "\n\ Welcome to WSO2 Docker resources.\n\ @@ -98,8 +96,6 @@ RUN \ && unzip -d ${USER_HOME} ${WSO2_SERVER}.zip \ && chown wso2carbon:wso2 -R ${WSO2_SERVER_HOME} \ && rm -f ${WSO2_SERVER}.zip -# add MySQL JDBC connector to server home as a third party library -ADD --chown=wso2carbon:wso2 https://repo1.maven.org/maven2/mysql/mysql-connector-java/${MYSQL_CONNECTOR_VERSION}/mysql-connector-java-${MYSQL_CONNECTOR_VERSION}.jar ${WSO2_SERVER_HOME}/lib/ # set the user and work directory USER ${USER_ID} diff --git a/dockerfiles/centos/is-analytics/worker/Dockerfile b/dockerfiles/centos/is-analytics/worker/Dockerfile index 327b84e8..54f64171 100644 --- a/dockerfiles/centos/is-analytics/worker/Dockerfile +++ b/dockerfiles/centos/is-analytics/worker/Dockerfile @@ -1,6 +1,6 @@ # ------------------------------------------------------------------------ # -# Copyright 2018 WSO2, Inc. (http://wso2.com) +# Copyright 2024 WSO2, LLC. (http://wso2.com) # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -64,8 +64,6 @@ ARG WSO2_SERVER_VERSION=5.8.0 ARG WSO2_SERVER=${WSO2_SERVER_NAME}-${WSO2_SERVER_VERSION} ARG WSO2_SERVER_HOME=${USER_HOME}/${WSO2_SERVER} ARG WSO2_SERVER_DIST_URL=https://bintray.com/wso2/binaryGA/download_file?file_path=${WSO2_SERVER}.zip -# build arguments for external artifacts -ARG MYSQL_CONNECTOR_VERSION=5.1.47 # build argument for MOTD ARG MOTD='printf "\n\ Welcome to WSO2 Docker resources.\n\ @@ -98,8 +96,6 @@ RUN \ && unzip -d ${USER_HOME} ${WSO2_SERVER}.zip \ && chown wso2carbon:wso2 -R ${WSO2_SERVER_HOME} \ && rm -f ${WSO2_SERVER}.zip -# add MySQL JDBC connector to server home as a third party library -ADD --chown=wso2carbon:wso2 https://repo1.maven.org/maven2/mysql/mysql-connector-java/${MYSQL_CONNECTOR_VERSION}/mysql-connector-java-${MYSQL_CONNECTOR_VERSION}.jar ${WSO2_SERVER_HOME}/lib/ # set the user and work directory USER ${USER_ID} diff --git a/dockerfiles/centos/is/Dockerfile b/dockerfiles/centos/is/Dockerfile index c2ea7918..4325e64f 100644 --- a/dockerfiles/centos/is/Dockerfile +++ b/dockerfiles/centos/is/Dockerfile @@ -1,6 +1,6 @@ # ------------------------------------------------------------------------ # -# Copyright 2018 WSO2, Inc. (http://wso2.com) +# Copyright 2024 WSO2, LLC. (http://wso2.com) # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -68,7 +68,6 @@ ARG WSO2_SERVER_DIST_URL=https://bintray.com/wso2/binaryGA/download_file?file_pa # build arguments for external artifacts ARG DNS_JAVA_VERSION=2.1.8 ARG K8S_MEMBERSHIP_SCHEME_VERSION=1.0.7 -ARG MYSQL_CONNECTOR_VERSION=5.1.47 # build argument for MOTD ARG MOTD='printf "\n\ Welcome to WSO2 Docker resources.\n\ @@ -110,8 +109,6 @@ RUN \ # add libraries for Kubernetes membership scheme based clustering ADD --chown=wso2carbon:wso2 https://repo1.maven.org/maven2/dnsjava/dnsjava/${DNS_JAVA_VERSION}/dnsjava-${DNS_JAVA_VERSION}.jar ${WSO2_SERVER_HOME}/repository/components/lib ADD --chown=wso2carbon:wso2 http://maven.wso2.org/nexus/content/repositories/releases/org/wso2/carbon/kubernetes/artifacts/kubernetes-membership-scheme/${K8S_MEMBERSHIP_SCHEME_VERSION}/kubernetes-membership-scheme-${K8S_MEMBERSHIP_SCHEME_VERSION}.jar ${WSO2_SERVER_HOME}/repository/components/dropins/ -# add MySQL JDBC connector to server home as a third party library -ADD --chown=wso2carbon:wso2 https://repo1.maven.org/maven2/mysql/mysql-connector-java/${MYSQL_CONNECTOR_VERSION}/mysql-connector-java-${MYSQL_CONNECTOR_VERSION}.jar ${WSO2_SERVER_HOME}/repository/components/dropins/ # set the user and work directory USER ${USER_ID} diff --git a/dockerfiles/ubuntu/is-analytics/dashboard/Dockerfile b/dockerfiles/ubuntu/is-analytics/dashboard/Dockerfile index 3e88398e..e45cd56b 100644 --- a/dockerfiles/ubuntu/is-analytics/dashboard/Dockerfile +++ b/dockerfiles/ubuntu/is-analytics/dashboard/Dockerfile @@ -1,6 +1,6 @@ # ------------------------------------------------------------------------ # -# Copyright 2018 WSO2, Inc. (http://wso2.com) +# Copyright 2024 WSO2, LLC. (http://wso2.com) # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -67,8 +67,6 @@ ARG WSO2_SERVER_VERSION=5.8.0 ARG WSO2_SERVER=${WSO2_SERVER_NAME}-${WSO2_SERVER_VERSION} ARG WSO2_SERVER_HOME=${USER_HOME}/${WSO2_SERVER} ARG WSO2_SERVER_DIST_URL=https://bintray.com/wso2/binaryGA/download_file?file_path=${WSO2_SERVER}.zip -# build arguments for external artifacts -ARG MYSQL_CONNECTOR_VERSION=5.1.47 # build argument for MOTD ARG MOTD="\n\ Welcome to WSO2 Docker resources.\n\ @@ -99,8 +97,6 @@ RUN \ && unzip -d ${USER_HOME} ${WSO2_SERVER}.zip \ && chown wso2carbon:wso2 -R ${WSO2_SERVER_HOME} \ && rm -f ${WSO2_SERVER}.zip -# add MySQL JDBC connector to server home as a third party library -ADD --chown=wso2carbon:wso2 https://repo1.maven.org/maven2/mysql/mysql-connector-java/${MYSQL_CONNECTOR_VERSION}/mysql-connector-java-${MYSQL_CONNECTOR_VERSION}.jar ${WSO2_SERVER_HOME}/lib/ # set the user and work directory USER ${USER_ID} diff --git a/dockerfiles/ubuntu/is-analytics/worker/Dockerfile b/dockerfiles/ubuntu/is-analytics/worker/Dockerfile index 3cca13e1..1d752ba0 100644 --- a/dockerfiles/ubuntu/is-analytics/worker/Dockerfile +++ b/dockerfiles/ubuntu/is-analytics/worker/Dockerfile @@ -1,6 +1,6 @@ # ------------------------------------------------------------------------ # -# Copyright 2018 WSO2, Inc. (http://wso2.com) +# Copyright 2024 WSO2, LLC. (http://wso2.com) # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -67,8 +67,6 @@ ARG WSO2_SERVER_VERSION=5.8.0 ARG WSO2_SERVER=${WSO2_SERVER_NAME}-${WSO2_SERVER_VERSION} ARG WSO2_SERVER_HOME=${USER_HOME}/${WSO2_SERVER} ARG WSO2_SERVER_DIST_URL=https://bintray.com/wso2/binaryGA/download_file?file_path=${WSO2_SERVER}.zip -# build arguments for external artifacts -ARG MYSQL_CONNECTOR_VERSION=5.1.47 # build argument for MOTD ARG MOTD="\n\ Welcome to WSO2 Docker resources.\n\ @@ -99,8 +97,6 @@ RUN \ && unzip -d ${USER_HOME} ${WSO2_SERVER}.zip \ && chown wso2carbon:wso2 -R ${WSO2_SERVER_HOME} \ && rm -f ${WSO2_SERVER}.zip -# add MySQL JDBC connector to server home as a third party library -ADD --chown=wso2carbon:wso2 https://repo1.maven.org/maven2/mysql/mysql-connector-java/${MYSQL_CONNECTOR_VERSION}/mysql-connector-java-${MYSQL_CONNECTOR_VERSION}.jar ${WSO2_SERVER_HOME}/lib/ # set the user and work directory USER ${USER_ID} diff --git a/dockerfiles/ubuntu/is/Dockerfile b/dockerfiles/ubuntu/is/Dockerfile index 40944b95..c41b79a6 100644 --- a/dockerfiles/ubuntu/is/Dockerfile +++ b/dockerfiles/ubuntu/is/Dockerfile @@ -1,6 +1,6 @@ # ------------------------------------------------------------------------ # -# Copyright 2017 WSO2, Inc. (http://wso2.com) +# Copyright 2024 WSO2, LLC. (http://wso2.com) # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -70,7 +70,6 @@ ARG WSO2_SERVER_DIST_URL=https://bintray.com/wso2/binaryGA/download_file?file_pa # build arguments for external artifacts ARG DNS_JAVA_VERSION=2.1.8 ARG K8S_MEMBERSHIP_SCHEME_VERSION=1.0.7 -ARG MYSQL_CONNECTOR_VERSION=5.1.47 # build argument for MOTD ARG MOTD="\n\ Welcome to WSO2 Docker resources.\n\ @@ -112,8 +111,6 @@ RUN \ # add libraries for Kubernetes membership scheme based clustering ADD --chown=wso2carbon:wso2 https://repo1.maven.org/maven2/dnsjava/dnsjava/${DNS_JAVA_VERSION}/dnsjava-${DNS_JAVA_VERSION}.jar ${WSO2_SERVER_HOME}/repository/components/lib ADD --chown=wso2carbon:wso2 http://maven.wso2.org/nexus/content/repositories/releases/org/wso2/carbon/kubernetes/artifacts/kubernetes-membership-scheme/${K8S_MEMBERSHIP_SCHEME_VERSION}/kubernetes-membership-scheme-${K8S_MEMBERSHIP_SCHEME_VERSION}.jar ${WSO2_SERVER_HOME}/repository/components/dropins/ -# add MySQL JDBC connector to server home as a third party library -ADD --chown=wso2carbon:wso2 https://repo1.maven.org/maven2/mysql/mysql-connector-java/${MYSQL_CONNECTOR_VERSION}/mysql-connector-java-${MYSQL_CONNECTOR_VERSION}.jar ${WSO2_SERVER_HOME}/repository/components/dropins/ # set the user and work directory USER ${USER_ID}