From 7adc378e74430dd9edfe5c9e70d24cb7c37f345d Mon Sep 17 00:00:00 2001 From: shrek2000 Date: Thu, 14 Nov 2019 15:34:40 +0200 Subject: Upgrade to Cassandra 3 Fix cqlshrc file content Issue-ID: SDC-2594 Signed-off-by: shrek2000 Change-Id: I3fb54a863cd25955002120723bdd776149752b25 --- base_sdc-cqlsh/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/base_sdc-cqlsh/Dockerfile b/base_sdc-cqlsh/Dockerfile index d69d96c..ce779d7 100644 --- a/base_sdc-cqlsh/Dockerfile +++ b/base_sdc-cqlsh/Dockerfile @@ -3,7 +3,8 @@ FROM openjdk:8-jdk-alpine RUN apk add --no-cache py-pip && \ pip install cqlsh==5.0.4 && \ mkdir ~/.cassandra/ && \ - echo '[cql]\n version=3.4.4' >> ~/.cassandra/cqlshrc && \ + echo '[cql]' > ~/.cassandra/cqlshrc && \ + echo 'version=3.4.4' >> ~/.cassandra/cqlshrc && \ set -ex && \ pip install cqlsh && \ apk add --no-cache \ -- cgit 1.2.3-korg