aboutsummaryrefslogtreecommitdiffstats
path: root/aai-traversal/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'aai-traversal/src/main')
-rw-r--r--aai-traversal/src/main/docker/Dockerfile27
1 files changed, 10 insertions, 17 deletions
diff --git a/aai-traversal/src/main/docker/Dockerfile b/aai-traversal/src/main/docker/Dockerfile
index 2998ec2..b071e89 100644
--- a/aai-traversal/src/main/docker/Dockerfile
+++ b/aai-traversal/src/main/docker/Dockerfile
@@ -1,23 +1,16 @@
FROM @aai.docker.namespace@/aai-common-@aai.base.image@:@aai.base.image.version@
USER root
-# RUN addgroup aaiadmin -g 1000
-# RUN adduser -u 1000 -h /opt/aaihome/aaiadmin -S -D -G aaiadmin -s /bin/bash aaiadmin
-# RUN groupadd aaiadmin -g 1000 \
-# && adduser -u 1000 -h /opt/aaihome/aaiadmin -S -D -G aaiadmin -s /bin/bash aaiadmin \
-# && mkdir -p /opt/aaihome/aaiadmin /opt/aai/logroot/AAI-GQ \
-# && chown -R aaiadmin:aaiadmin /opt/aaihome/aaiadmin /opt/aai/logroot/AAI-GQ \
-# && chown -R aaiadmin:aaiadmin /opt/app/aai-traversal /etc/profile.d /opt/app /opt/aai/logroot
-RUN mkdir -p \
- /opt/aaihome/aaiadmin \
- /opt/aai/logroot/AAI-GQ \
- /opt/app/aai-traversal \
- /opt/aai/logroot \
- && chown -R aaiadmin:aaiadmin \
- /opt/app/aai-traversal \
- /etc/profile.d \
- /opt/app \
- /opt/aai/logroot
+
+RUN groupadd aaiadmin -g 1000 \
+ && adduser -u 1000 -h /opt/aaihome/aaiadmin -S -D -G aaiadmin -s /bin/bash aaiadmin \
+ && mkdir -p /opt/aaihome/aaiadmin /opt/aai/logroot/AAI-GQ \
+ /opt/app/aai-traversal \
+ && chown -R aaiadmin:aaiadmin /opt/aaihome/aaiadmin /opt/aai/logroot/AAI-GQ \
+ /opt/app/aai-traversal /etc/profile.d /opt/app /opt/aai/logroot \
+ /etc/profile.d \
+ /opt/app
+
VOLUME /tmp
VOLUME /opt/tools