Upgrade to Cassandra 3
Fix cqlshrc file content
Issue-ID: SDC-2594
Signed-off-by: shrek2000 <oren.kleks@amdocs.com>
Change-Id: I3fb54a863cd25955002120723bdd776149752b25
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 @@
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 \