add -f, try delete dir in case do not exist
This commit is contained in:
parent
47d91915e7
commit
0edc5a215e
|
@ -55,10 +55,10 @@ COPY trytond_worker_logging.conf /etc/trytond_worker_logging.conf
|
||||||
RUN touch /etc/trytond_populate.conf \
|
RUN touch /etc/trytond_populate.conf \
|
||||||
&& touch $TRYTONPASSFILE \
|
&& touch $TRYTONPASSFILE \
|
||||||
&& chown -R trytond:trytond /etc/trytond* \
|
&& chown -R trytond:trytond /etc/trytond* \
|
||||||
&& rm -r /var/log/trytond \
|
&& rm -rf /var/log/trytond \
|
||||||
&& mkdir /var/log/trytond \
|
&& mkdir /var/log/trytond \
|
||||||
&& chown -R trytond:trytond /var/log/trytond \
|
&& chown -R trytond:trytond /var/log/trytond \
|
||||||
&& rm -r /mnt/attachment \
|
&& rm -rf /mnt/attachment \
|
||||||
&& mkdir /mnt/attachment \
|
&& mkdir /mnt/attachment \
|
||||||
&& chown -R trytond:trytond /mnt/attachment
|
&& chown -R trytond:trytond /mnt/attachment
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue