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

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

Change-Id: I65261c195ef53700cef2eb4d793f4be3a9b76127
This commit is contained in:
Aleksandr Mogylchenko 2016-11-25 17:29:52 +01:00
parent 83d97e2420
commit e8e3ffe10d
1 changed files with 4 additions and 2 deletions

View File

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