Revert the change for helm manager Dockerfile 44/7244/1
authorecaiyanlinux <martin.c.yan@est.tech>
Mon, 6 Dec 2021 09:01:01 +0000 (10:01 +0100)
committerecaiyanlinux <martin.c.yan@est.tech>
Mon, 6 Dec 2021 09:01:01 +0000 (10:01 +0100)
It seems helm manager can not run without root previlege
Revert the change for now, need further investigation

Signed-off-by: ecaiyanlinux <martin.c.yan@est.tech>
Issue-ID: NONRTRIC-656
Change-Id: I240819ebf6df4f9e87271ec8ebe8f2943be01caa

helm-manager/Dockerfile

index d15ddc7..90164fd 100644 (file)
@@ -49,8 +49,4 @@ COPY config/application.yaml .
 WORKDIR /opt/app/helm-manager
 COPY target/app.jar app.jar
 
-RUN groupadd -g 999 appuser && \
-    useradd -r -u 999 -g appuser appuser
-USER appuser
-
 CMD [ "java", "-jar", "app.jar" ]