diff options
author | Dan Timoney <dtimoney@att.com> | 2017-09-18 11:59:15 -0400 |
---|---|---|
committer | Dan Timoney <dtimoney@att.com> | 2017-09-18 11:59:15 -0400 |
commit | ec8e4d83e62f28955491ad1a51104c7ff01d7b5b (patch) | |
tree | 09e5e5ab01afb1cca9f753be1d415ad3d6d93803 /opendaylight/src/main/docker | |
parent | 794fd831e61cb41f13af329b1ca5b9bf38cd72b2 (diff) |
Use mariadb JDBC connector
Update CCSDK container to use MariaDB JDBC connector instead of
mysql connector. This is needed to resolve licensing issue. Both connectors
are compatible with both MySQL and MariaDB back end databases, but
mysql JDBC connector is licensed under GPL 2.0, while MariaDB JDBC
is licensed under LGPL 2.0.
Change-Id: I919e8463c1e0ef162b9becc5023ebf623423df78
Issue-ID: CCSDK-95
Signed-off-by: Dan Timoney <dtimoney@att.com>
Diffstat (limited to 'opendaylight/src/main/docker')
-rw-r--r-- | opendaylight/src/main/docker/Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/opendaylight/src/main/docker/Dockerfile b/opendaylight/src/main/docker/Dockerfile index 35d1277b..afa912b2 100644 --- a/opendaylight/src/main/docker/Dockerfile +++ b/opendaylight/src/main/docker/Dockerfile @@ -13,7 +13,7 @@ RUN mkdir /opt/opendaylight \ # workaround till we get proxy working -RUN mkdir -p /opt/opendaylight/current/system/mysql/mysql-connector-java/${ccsdk.mysql-connector-java.version} -COPY mysql-connector-java-${ccsdk.mysql-connector-java.version}.jar /opt/opendaylight/current/system/mysql/mysql-connector-java/${ccsdk.mysql-connector-java.version} +RUN mkdir -p /opt/opendaylight/current/system/org/mariadb/jdbc/mariadb-java-client/${ccsdk.mariadb-connector-java.version} +COPY mariadb-java-client-${ccsdk.mysql-connector-java.version}.jar /opt/opendaylight/current/system/org/mariadb/jdbc/mariadb-java-client/${ccsdk.mariadb-connector-java.version} # ENTRYPOINT exec /opt/opendaylight/current/bin/karaf EXPOSE 8181 |