Upgrade to Cassandra 3
Creating base dockers suitable for Cassandra 3
Issue-ID: SDC-2594
Signed-off-by: shrek2000 <oren.kleks@amdocs.com>
Change-Id: I9e62cca2b7ef348bf68f28f74ec0a49c350f93e8
Signed-off-by: shrek2000 <oren.kleks@amdocs.com>
diff --git a/base_sdc-cassandra/Dockerfile b/base_sdc-cassandra/Dockerfile
index 6dddaa7..4885e19 100644
--- a/base_sdc-cassandra/Dockerfile
+++ b/base_sdc-cassandra/Dockerfile
@@ -1,4 +1,4 @@
-FROM cassandra:2.1.17
+FROM cassandra:3.11.4
# Upgrade specific system libraries to fix CVE vulnerabilities
# avahi 0.7-3.1
diff --git a/base_sdc-cqlsh/Dockerfile b/base_sdc-cqlsh/Dockerfile
index 7cc7566..5ed1299 100644
--- a/base_sdc-cqlsh/Dockerfile
+++ b/base_sdc-cqlsh/Dockerfile
@@ -1,7 +1,9 @@
FROM openjdk:8-jdk-alpine
RUN apk add --no-cache py-pip && \
- pip install cqlsh==4.0.1 && \
+ pip install cqlsh==5.0.4 && \
+ mkdir ~/.cassandra/ && \
+ echo '[cql]\n version=3.4.4' >> ~/.cassandra/cqlshrc && \
set -ex && \
pip install cqlsh && \
apk add --no-cache \
@@ -15,3 +17,4 @@
apk update && \
apk add binutils \
libtasn1
+
diff --git a/pom.xml b/pom.xml
index 3784652..cab2156 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
<groupId>org.onap.sdc.sdc-docker-base</groupId>
<artifactId>sdc-docker-base</artifactId>
<packaging>pom</packaging>
- <version>1.4.2-SNAPSHOT</version>
+ <version>1.5.0-SNAPSHOT</version>
<name>sdc-sdc-docker-base</name>
<parent>
@@ -31,7 +31,7 @@
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
- <version>0.25.2</version>
+ <version>0.26.0</version>
<configuration>
<images>
<!-- base_sdc-jetty for backend and frontend -->