diff --git a/Dockerfile b/Dockerfile index 5756a2e..58c9479 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,11 +2,11 @@ FROM python:2.7-alpine3.8 WORKDIR /scripts -ENV CQLVERSION="3.4.4" \ +ENV CQLVERSION="3.4.5" \ CQLSH_HOST="cassandra" \ CQLSH_PORT="9042" -RUN pip install -Ivq cqlsh==5.0.4 \ +RUN pip install -Ivq cqlsh==6.0.0 \ && apk add --no-cache bash \ && echo 'alias cqlsh="cqlsh --cqlversion ${CQLVERSION} $@"' >> /.bashrc \ && mkdir /.cassandra @@ -15,4 +15,4 @@ COPY ["entrypoint.sh", "/usr/local/bin"] USER nobody -CMD ["entrypoint.sh"] \ No newline at end of file +CMD ["entrypoint.sh"] diff --git a/entrypoint.sh b/entrypoint.sh index 269dc73..0503c6c 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,7 +1,7 @@ #!/bin/bash # defaults for cqlsh -export CQLVERSION=${CQLVERSION:-"3.4.4"} +export CQLVERSION=${CQLVERSION:-"3.4.5"} export CQLSH_HOST=${CQLSH_HOST:-"cassandra"} export CQLSH_PORT=${CQLSH_PORT:-"9042"}