aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/dist
diff options
context:
space:
mode:
authorandre.schmid <andre.schmid@est.tech>2022-01-19 20:41:02 +0000
committerVasyl Razinkov <vasyl.razinkov@est.tech>2022-01-20 15:45:18 +0000
commitb3761a858f0ec676dd0236101b29f8948d5d6a2e (patch)
treeb812bd54e6cc3a062c97aee5a000fcc1707426a8 /openecomp-be/dist
parent1c1cdcec2863be20400ca43b3c63f8b8c0a85ee2 (diff)
Force a fixed version of cqlsh in cassandra init
The latest version of cqlsh is not working with the current sdc-cassandra-init and sdc-onboard-cassandra-init image/container setup. This change forces the version to the latest functional version, 6.0.0, so it will not take any other future release, avoiding unpredictable errors. It also removes duplicate entries of pip upgrade and cqlsh install in the onboarding cassandra init. Change-Id: Ibfd6d34f2857653595897c0e0929eea73015232b Issue-ID: SDC-3852 Signed-off-by: andre.schmid <andre.schmid@est.tech>
Diffstat (limited to 'openecomp-be/dist')
-rw-r--r--openecomp-be/dist/sdc-onboard-db-init-docker/artifacts/Dockerfile4
1 files changed, 1 insertions, 3 deletions
diff --git a/openecomp-be/dist/sdc-onboard-db-init-docker/artifacts/Dockerfile b/openecomp-be/dist/sdc-onboard-db-init-docker/artifacts/Dockerfile
index a30cb461d1..abd09a9767 100644
--- a/openecomp-be/dist/sdc-onboard-db-init-docker/artifacts/Dockerfile
+++ b/openecomp-be/dist/sdc-onboard-db-init-docker/artifacts/Dockerfile
@@ -10,13 +10,11 @@ USER root
RUN apt-get update --allow-releaseinfo-change && apt-get install -y python-pip && \
python -m pip install --upgrade pip \
- pip install cqlsh && \
+ pip install cqlsh==6.0.0 && \
mkdir ~/.cassandra/ && \
echo '[cql]' > ~/.cassandra/cqlshrc && \
echo 'version=3.4.4' >> ~/.cassandra/cqlshrc && \
set -ex && \
- python -m pip install --upgrade pip \
- pip install cqlsh && \
apt-get install -y \
make \
gcc \