summaryrefslogtreecommitdiffstats
path: root/base_sdc-cqlsh
diff options
context:
space:
mode:
authorshrek2000 <oren.kleks@amdocs.com>2019-11-14 15:34:40 +0200
committerOfir Sonsino <ofir.sonsino@intl.att.com>2019-11-17 09:45:33 +0000
commit7adc378e74430dd9edfe5c9e70d24cb7c37f345d (patch)
tree841ef8c423534396e186a8901153d10164ec4add /base_sdc-cqlsh
parent5ac4db020d162174b144540aa1ed464ae961d1b8 (diff)
Upgrade to Cassandra 3
Fix cqlshrc file content Issue-ID: SDC-2594 Signed-off-by: shrek2000 <oren.kleks@amdocs.com> Change-Id: I3fb54a863cd25955002120723bdd776149752b25
Diffstat (limited to 'base_sdc-cqlsh')
-rw-r--r--base_sdc-cqlsh/Dockerfile3
1 files changed, 2 insertions, 1 deletions
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 \