Skip to content
Snippets Groups Projects
Commit fcbee7b2 authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Unify Centos and Ubuntu Source Install - Swift"

parents c3c28d43 8ba0faf6
No related branches found
No related tags found
No related merge requests found
...@@ -15,16 +15,13 @@ RUN echo '{{ install_type}} not yet available for {{ base_distro }}' \ ...@@ -15,16 +15,13 @@ RUN echo '{{ install_type}} not yet available for {{ base_distro }}' \
{% elif install_type == 'source' %} {% elif install_type == 'source' %}
ADD ./swift.tar / ADD swift.tar /
RUN ln -s /swift-* /swift RUN ln -s /swift-* swift \
RUN cd /swift \
&& useradd --user-group swift \ && useradd --user-group swift \
&& pip install -r requirements.txt \ && pip --no-cache-dir install /swift \
&& pip install /swift \ && mkdir -p /etc/swift /var/log/swift /home/swift \
&& mkdir /etc/swift /var/log/swift \
&& cp -r /swift/etc/* /etc/swift/ \ && cp -r /swift/etc/* /etc/swift/ \
&& rm -rf /root/.cache && chown -R swift: /etc/swift /var/log/swift /home/swift
{% endif %} {% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment