diff options
-rw-r--r-- | docker-compose/cassandra.yml | 2 | ||||
-rw-r--r-- | workflow-designer-init/src/main/docker/Dockerfile | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/docker-compose/cassandra.yml b/docker-compose/cassandra.yml index 251b4c99..28d681e7 100644 --- a/docker-compose/cassandra.yml +++ b/docker-compose/cassandra.yml @@ -2,4 +2,4 @@ version: '3' services: cassandra: - image: "cassandra:2.1" + image: "cassandra:3.11.4" 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 ./ |