summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>2024-02-06 13:15:39 +0100
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>2024-02-06 13:15:39 +0100
commit26c4ef2510d0736ae9a18c8eac2ea2406a83092d (patch)
tree13459a48eb775ce2727454ff1679b28fd17182f1
parent2a21d927fdd7225bcdebd303eb4bdb458a59a8a2 (diff)
Docker build for traversal is broken
- create necessary folders in docker build after switching back to older 1.6.0 image Issue-ID: AAI-3756 Change-Id: I224f28d88ec7b3f29bbc1b45d6a14943e7fa69dc Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
-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