Fix designate dockerfile

* remove /var/log/designate
* remove usermod -a -G kolla designate, it create by macros.j2

Change-Id: I8bae9627604cf57edfa68221cd960085e7bb5312
This commit is contained in:
zhubingbing 2017-01-19 03:18:21 +00:00
parent dc063ce776
commit 6854ecbd5c

View File

@ -52,8 +52,7 @@ RUN ln -s designate-base-source/* designate \
COPY designate_sudoers /etc/sudoers.d/kolla_designate_sudoers COPY designate_sudoers /etc/sudoers.d/kolla_designate_sudoers
COPY extend_start.sh /usr/local/bin/kolla_extend_start COPY extend_start.sh /usr/local/bin/kolla_extend_start
RUN usermod -a -G kolla designate \ RUN chmod 750 /etc/sudoers.d \
&& chmod 750 /etc/sudoers.d \
&& chmod 640 /etc/sudoers.d/kolla_designate_sudoers \ && chmod 640 /etc/sudoers.d/kolla_designate_sudoers \
&& touch /usr/local/bin/kolla_designate_extend_start \ && touch /usr/local/bin/kolla_designate_extend_start \
&& chmod 755 /usr/local/bin/kolla_extend_start /usr/local/bin/kolla_designate_extend_start && chmod 755 /usr/local/bin/kolla_extend_start /usr/local/bin/kolla_designate_extend_start