aboutsummaryrefslogtreecommitdiffstats
path: root/workflow-designer-init/src/main/docker
diff options
context:
space:
mode:
authorshrek2000 <oren.kleks@amdocs.com>2020-02-23 13:14:01 +0200
committershrek2000 <oren.kleks@amdocs.com>2020-02-23 13:14:01 +0200
commit1cf6048481087ace4c495f255671ad9e6b78db1b (patch)
tree194f4755eaa29ea2e2b4e751c5d9151291a8b1a2 /workflow-designer-init/src/main/docker
parent9e8232ba85d25e1883e83cdd0d61eeeade45e5f0 (diff)
Cassandra 3 Upgrade
Move workflow to use SDC cassandra 3 Issue-ID: SDC-2595 Signed-off-by: shrek2000 <oren.kleks@amdocs.com> Change-Id: I3e0a47c514525e684cf291269a35b9511920eec6
Diffstat (limited to 'workflow-designer-init/src/main/docker')
-rw-r--r--workflow-designer-init/src/main/docker/Dockerfile5
1 files changed, 4 insertions, 1 deletions
diff --git a/workflow-designer-init/src/main/docker/Dockerfile b/workflow-designer-init/src/main/docker/Dockerfile
index 9db22839..b5ee15ad 100644
--- a/workflow-designer-init/src/main/docker/Dockerfile
+++ b/workflow-designer-init/src/main/docker/Dockerfile
@@ -1,6 +1,9 @@
FROM python:2.7-alpine3.8
-RUN pip install cqlsh==4.0.1
+RUN pip install cqlsh==5.0.4 && \
+ mkdir ~/.cassandra/ && \
+ echo '[cql]' > ~/.cassandra/cqlshrc && \
+ echo 'version=3.4.4' >> ~/.cassandra/cqlshrc
COPY create_keyspaces.cql create_tables.cql start.sh ./