Adjust sdc-cassandra-init userid 24/143624/1
authorFiete Ostkamp <fiete.ostkamp@telekom.de>
Tue, 17 Mar 2026 15:04:19 +0000 (16:04 +0100)
committerFiete Ostkamp <fiete.ostkamp@telekom.de>
Tue, 17 Mar 2026 15:04:19 +0000 (16:04 +0100)
- make sure the user id in the image is 1000 since that is what is used
  in the chart
- the user id could have also been adjusted in the chart, but 1000 is also
  used for all other images

Issue-ID: SDC-4808
Change-Id: I87b7997c6ab5e8d69ff0e2ea7134924646966240
Signed-off-by: Fiete Ostkamp <fiete.ostkamp@telekom.de>
asdctool/sdc-cassandra-init/Dockerfile

index 52348a1..35ebdd2 100644 (file)
@@ -9,7 +9,7 @@ RUN mkdir -p /opt && \
 FROM eclipse-temurin:11-jre-jammy
 
 USER root
-RUN groupadd -r sdc && useradd -r -g sdc -m sdc
+RUN groupadd -g 1000 sdc && useradd -u 1000 -g 1000 -m sdc
 
 RUN apt-get update && \
     apt-get install -y --no-install-recommends python3-pip && \