Browse Source

Fix /opt/ccp/{etc,bin} directories creation

Above does not work in Docker because that is bash specific.

Change-Id: I65261c195ef53700cef2eb4d793f4be3a9b76127
Aleksandr Mogylchenko 2 years ago
parent
commit
e8e3ffe10d
1 changed files with 4 additions and 2 deletions
  1. 4
    2
      docker/base/Dockerfile.j2

+ 4
- 2
docker/base/Dockerfile.j2 View File

@@ -20,7 +20,9 @@ COPY sudoers /etc/sudoers
20 20
 RUN chmod 440 /etc/sudoers \
21 21
     && groupadd microservices
22 22
 
23
-# Directory to store additional bin and configs needed for bootstrapping of the containers.
24
-RUN mkdir -p /opt/ccp/{etc,bin} \
23
+# Directories to store additional bin and configs needed for bootstrapping of the containers.
24
+# https://github.com/docker/docker/issues/13011
25
+RUN mkdir -p /opt/ccp/etc \
26
+    && mkdir /opt/ccp/bin \
25 27
     && chown -R root:microservices /opt/ccp \
26 28
     && chmod -R g+wrx /opt/ccp

Loading…
Cancel
Save