summaryrefslogtreecommitdiffstats
path: root/aai-resources/src/main/docker/Dockerfile
diff options
context:
space:
mode:
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>2023-10-16 09:59:14 +0200
committerFiete Ostkamp <fiete.ostkamp@telekom.de>2024-01-19 10:09:50 +0000
commitce788a66989590a2fd1291390fb2f6489cc38e7c (patch)
tree427cd3842ce569e5ed3b09e6b7c3735e81267566 /aai-resources/src/main/docker/Dockerfile
parent57d9169e0cb1dc0dd91a661f7e4180d3dd747514 (diff)
Update aai-common-alpine base image in resources
- update [aai-common-alpine](https://hub.docker.com/r/onap/aai-common-alpine/tags) base image from 1.6.0 to 1.9.6 - add README-instructions for building the docker image Issue-ID: AAI-3662 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: Ic0f1993520b95f435543e12ac7b332fb4f4d5f94
Diffstat (limited to 'aai-resources/src/main/docker/Dockerfile')
-rw-r--r--aai-resources/src/main/docker/Dockerfile6
1 files changed, 2 insertions, 4 deletions
diff --git a/aai-resources/src/main/docker/Dockerfile b/aai-resources/src/main/docker/Dockerfile
index be115e7..f8b9820 100644
--- a/aai-resources/src/main/docker/Dockerfile
+++ b/aai-resources/src/main/docker/Dockerfile
@@ -1,6 +1,8 @@
FROM @aai.docker.namespace@/aai-common-@aai.base.image@:@aai.base.image.version@
+USER root
RUN mkdir -p /opt/aaihome/aaiadmin /opt/aai/logroot/AAI-RES /opt/bulkprocess_load
+RUN chown -R aaiadmin:aaiadmin /opt/aaihome /opt/aai/logroot/AAI-RES /opt/bulkprocess_load
VOLUME /tmp
@@ -15,10 +17,6 @@ ENV AAI_BUILD_VERSION @aai.docker.version@
# 8447 is the important one to be used
EXPOSE 8447
-RUN groupadd aaiadmin -g 1000
-
-RUN adduser -u 1000 -h /opt/aaihome/aaiadmin -S -D -G aaiadmin -s /bin/bash aaiadmin
-
# Add the proper files into the docker image from your build
WORKDIR /opt/app/aai-resources