From c0e96b55b3b71a69d0cfe47908a2e5c0ee7e4bae Mon Sep 17 00:00:00 2001 From: shrek2000 Date: Tue, 29 Oct 2019 09:38:53 +0200 Subject: Upgrade to Cassandra 3 Creating base dockers suitable for Cassandra 3 Issue-ID: SDC-2594 Signed-off-by: shrek2000 Change-Id: I9e62cca2b7ef348bf68f28f74ec0a49c350f93e8 Signed-off-by: shrek2000 --- base_sdc-cassandra/Dockerfile | 2 +- base_sdc-cqlsh/Dockerfile | 5 ++++- pom.xml | 4 ++-- 3 files changed, 7 insertions(+), 4 deletions(-) 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 @@ RUN apk add --no-cache py-pip && \ 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 @@ org.onap.sdc.sdc-docker-base sdc-docker-base pom - 1.4.2-SNAPSHOT + 1.5.0-SNAPSHOT sdc-sdc-docker-base @@ -31,7 +31,7 @@ io.fabric8 docker-maven-plugin - 0.25.2 + 0.26.0 -- cgit 1.2.3-korg