Fix permissions of ca-certificates.crt in LCM Dockerfile 47/11947/2
authorDavid Garcia <david.garcia@canonical.com>
Wed, 27 Apr 2022 11:46:34 +0000 (13:46 +0200)
committergarciadav <david.garcia@canonical.com>
Wed, 4 May 2022 08:04:35 +0000 (10:04 +0200)
Change-Id: Iad8d16d24ab5c6bc545e3470aec8ae05f98b4c68
Signed-off-by: David Garcia <david.garcia@canonical.com>
docker/LCM/Dockerfile

index 822c41f..f662d7b 100644 (file)
@@ -111,7 +111,9 @@ RUN groupadd -g 1000 appuser && \
     mkdir -p /app/osm_lcm && \
     mkdir -p /app/storage/kafka && \
     mkdir /app/log && \
-    chown -R appuser:appuser /app
+    chown -R appuser:appuser /app && \
+    chown appuser: /etc/ssl/certs/ca-certificates.crt
+
 
 WORKDIR /app/osm_lcm