refactor: Tuned
The command git init optionally accepts an explicit working directory, no need to cd. Change-Id: I5703b86836170480a6873fd7da85626fa330c85a
This commit is contained in:
parent
70d4677e54
commit
f4f081c625
@ -27,9 +27,7 @@ RUN apt-get update -y && apt-get install -y --no-install-recommends apt-utils \
|
||||
&& ln -s /usr/bin/python3 /usr/bin/python \
|
||||
&& ln -s /usr/bin/pip3 /usr/bin/pip \
|
||||
&& mkdir -p /etc/skyline /var/log/skyline /var/lib/skyline \
|
||||
&& cd /skyline-apiserver \
|
||||
&& git init \
|
||||
&& cd / \
|
||||
&& git init /skyline-apiserver \
|
||||
&& pip install skyline-apiserver/ -chttps://releases.openstack.org/constraints/upper/master \
|
||||
&& pip install -U ${SKYLINE_CONSOLE_PACKAGE_URL} \
|
||||
&& apt-get clean \
|
||||
|
Loading…
Reference in New Issue
Block a user