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:
parent
83d97e2420
commit
e8e3ffe10d
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue