diff options
author | Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> | 2024-01-26 12:10:38 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2024-01-26 12:10:38 +0000 |
commit | 3c8b8cb659b094b1b5b7f7e99218146de3f25942 (patch) | |
tree | 6a3f59779f25bfc7ce4ae1b933c131c909673e5b /aai-resources/src | |
parent | 5a0453aabdffc7d31e306e5a81ebab8abb183e55 (diff) | |
parent | ce788a66989590a2fd1291390fb2f6489cc38e7c (diff) |
Merge "Update aai-common-alpine base image in resources"
Diffstat (limited to 'aai-resources/src')
-rw-r--r-- | aai-resources/src/main/docker/Dockerfile | 6 |
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 |