diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rwxr-xr-x | pom.xml | 2 | ||||
-rwxr-xr-x | src/main/docker/Dockerfile | 5 |
3 files changed, 3 insertions, 5 deletions
@@ -13,3 +13,4 @@ debug-logs/ .classpath *.DS_Store src/main/resources/etc/scriptdata/addmanualdata/tenant_isolation/payload/ +.vscode
\ No newline at end of file @@ -63,7 +63,7 @@ <!-- base image for aai-common --> <aai.base.image>alpine</aai.base.image> <!-- aai-common image version --> - <aai.base.image.version>1.6.0</aai.base.image.version> + <aai.base.image.version>1.13.4</aai.base.image.version> <!-- End of Docker Related Properties --> <license.goal.type>check</license.goal.type> diff --git a/src/main/docker/Dockerfile b/src/main/docker/Dockerfile index a9d4f2a..731da9a 100755 --- a/src/main/docker/Dockerfile +++ b/src/main/docker/Dockerfile @@ -1,4 +1,5 @@ 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-GA /opt/app/aai-graphadmin/logs/gc @@ -8,10 +9,6 @@ VOLUME /opt/tools HEALTHCHECK --interval=40s --timeout=10s --retries=3 CMD nc -z -v localhost 8449 || exit 1 -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-graphadmin |