Merge "Create /var/cache/swift in source installation"

This commit is contained in:
Jenkins 2016-04-12 15:22:34 +00:00 committed by Gerrit Code Review
commit 35e379a97c

View File

@ -33,9 +33,9 @@ ADD swift-base-archive /swift-base-source
RUN ln -s swift-base-source/* swift \ RUN ln -s swift-base-source/* swift \
&& useradd --user-group swift \ && useradd --user-group swift \
&& /var/lib/kolla/venv/bin/pip --no-cache-dir install --upgrade -c requirements/upper-constraints.txt /swift \ && /var/lib/kolla/venv/bin/pip --no-cache-dir install --upgrade -c requirements/upper-constraints.txt /swift \
&& mkdir -p /etc/swift /var/log/swift /home/swift \ && mkdir -p /etc/swift /var/cache/swift /var/log/swift /home/swift \
&& cp -r /swift/etc/* /etc/swift/ \ && cp -r /swift/etc/* /etc/swift/ \
&& chown -R swift: /etc/swift /var/log/swift /home/swift && chown -R swift: /etc/swift /var/cache/swift /var/log/swift /home/swift
{% endif %} {% endif %}