summaryrefslogtreecommitdiffstats
path: root/installation
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2017-05-17 19:30:25 -0400
committerDan Timoney <dtimoney@att.com>2017-05-17 19:30:38 -0400
commit8c851b2e342f8888c8ad1cdff47b0117f165e3b2 (patch)
treef6bc8854a276fc6666bab7bd5815fb48dfc34a0c /installation
parent90bd0dc6a860c3768ede938881eb8d226232540a (diff)
[DOCKER] Fix mysql installation
Mysql jar file installed in wrong directory Change-Id: Ibe824d87c93773f923046ec6eb33e9b64e7fa6f7 Signed-off-by: Dan Timoney <dtimoney@att.com> Former-commit-id: 689aa901acf029346ca85189074837b8aa5533a4
Diffstat (limited to 'installation')
-rw-r--r--installation/sdnc/src/main/docker/Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/installation/sdnc/src/main/docker/Dockerfile b/installation/sdnc/src/main/docker/Dockerfile
index 55f74b7b..debfe834 100644
--- a/installation/sdnc/src/main/docker/Dockerfile
+++ b/installation/sdnc/src/main/docker/Dockerfile
@@ -20,6 +20,7 @@ COPY opt /opt
RUN ln -s /opt/openecomp/sdnc /opt/sdnc
# workaround till we get proxy working
-COPY mysql-connector-java-${sdnc.mysql-connector-java.version}.jar /opt/opendaylight/current/system
+RUN mkdir -p /opt/opendaylight/current/system/mysql/mysql-connector-java/${sdnc.mysql-connector-java.version}
+COPY mysql-connector-java-${sdnc.mysql-connector-java.version}.jar /opt/opendaylight/current/system/mysql/mysql-connector-java/${sdnc.mysql-connector-java.version}
# ENTRYPOINT exec /opt/opendaylight/current/bin/karaf
EXPOSE 8181