diff options
author | Fiete Ostkamp <fiete.ostkamp@telekom.de> | 2024-01-29 17:17:21 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2024-01-29 17:17:21 +0000 |
commit | 5d02099347bbd6beb81de7e49ffe349c36caff09 (patch) | |
tree | 7f93961616dd209fe758d0e51b9b0af20671e94c /aai-resources/src/main/docker | |
parent | 3c8b8cb659b094b1b5b7f7e99218146de3f25942 (diff) | |
parent | c65f5a42c28effc2f3d866dde7683a488df928b3 (diff) |
Merge "Revert "Update aai-common-alpine base image in resources""
Diffstat (limited to 'aai-resources/src/main/docker')
-rw-r--r-- | aai-resources/src/main/docker/Dockerfile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/aai-resources/src/main/docker/Dockerfile b/aai-resources/src/main/docker/Dockerfile index f8b9820..be115e7 100644 --- a/aai-resources/src/main/docker/Dockerfile +++ b/aai-resources/src/main/docker/Dockerfile @@ -1,8 +1,6 @@ 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 @@ -17,6 +15,10 @@ 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 |