aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>2025-03-13 09:09:42 +0100
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>2025-03-13 09:09:42 +0100
commitd8d4f0f514997bb0bc69bf470d2b8fddc3af40aa (patch)
treeba35ec6a32af822265197fdb806508a730ea10f8
parent2604025a93f40c7ef76abe395f34156c3c391d5f (diff)
Reduce sdc-cassandra-init (sdc-cs) image sizeHEADmaster
- reduce sdc-cassandra-init image size (2.4GB -> 1.9GB) Issue-ID: SDC-4723 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I2f74e64785f6f6f0d7a927dc55f6468dff688241
-rw-r--r--asdctool/sdc-cassandra-init/Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/asdctool/sdc-cassandra-init/Dockerfile b/asdctool/sdc-cassandra-init/Dockerfile
index dd31cc5f4c..11c3e87bc7 100644
--- a/asdctool/sdc-cassandra-init/Dockerfile
+++ b/asdctool/sdc-cassandra-init/Dockerfile
@@ -1,4 +1,4 @@
-FROM onap/policy-jdk-debian:2.0.2
+FROM eclipse-temurin:11-jre-jammy
# Create a new group and user
RUN addgroup sdc && \
@@ -18,7 +18,7 @@ RUN apt-get update --allow-releaseinfo-change && \
apt-get purge python* -y && \
apt-get install -y python3-pip && \
python3 -m pip install --upgrade pip && \
- pip3 install cqlsh==6.1.0 && \
+ pip3 install --no-cache-dir cqlsh==6.1.0 && \
mkdir -p ~/.cassandra/ && \
echo '[cql]' > ~/.cassandra/cqlshrc && \
echo 'version=3.4.4' >> ~/.cassandra/cqlshrc && \