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

Merge "Unify Centos and Ubuntu Source Install - Keystone"

parents 75fa5b0b 42eebad5
No related branches found
No related tags found
No related merge requests found
...@@ -48,17 +48,15 @@ RUN apt-get install -y --no-install-recommends \ ...@@ -48,17 +48,15 @@ RUN apt-get install -y --no-install-recommends \
{% endif %} {% endif %}
ADD ./keystone.tar / ADD keystone.tar /
RUN ln -s /keystone-* /keystone RUN ln -s /keystone-* keystone \
RUN cd /keystone \
&& useradd --user-group keystone \ && useradd --user-group keystone \
&& pip install -r requirements.txt \ && pip --no-cache-dir install /keystone \
&& pip install --install-option="--install-scripts=/usr/bin" /keystone \
&& mkdir -p /etc/keystone /var/www/cgi-bin/keystone /var/log/apache2 /home/keystone \ && mkdir -p /etc/keystone /var/www/cgi-bin/keystone /var/log/apache2 /home/keystone \
&& cp -r /keystone/etc/* /etc/keystone/ \ && cp -r /keystone/etc/* /etc/keystone/ \
&& cp -a httpd/keystone.py /var/www/cgi-bin/keystone/admin \ && cp /keystone/httpd/keystone.py /var/www/cgi-bin/keystone/admin \
&& cp -a httpd/keystone.py /var/www/cgi-bin/keystone/main && cp /keystone/httpd/keystone.py /var/www/cgi-bin/keystone/main \
&& chown -R keystone: /etc/keystone /var/www/cgi-bin/keystone /var/log/apache2 /home/keystone
{% 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