Switch horizon image builds
Change-Id: I44fe40ef66b5df001e9c2b3d44250c77ff8fa76d
This commit is contained in:
parent
bb67cfc27d
commit
5166a5c58c
@ -13,24 +13,8 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
FROM docker.io/opendevorg/python-builder as builder
|
||||
COPY bindep.txt /tmp/src/bindep.txt
|
||||
RUN apt update && apt -y install git
|
||||
ADD https://releases.openstack.org/constraints/upper/ussuri /tmp/src/upper-constraints.txt
|
||||
RUN assemble git+https://opendev.org/openstack/horizon@stable/ussuri \
|
||||
git+https://opendev.org/openstack/heat-dashboard@stable/ussuri \
|
||||
git+https://opendev.org/openstack/designate-dashboard@stable/ussuri \
|
||||
git+https://opendev.org/openstack/neutron-vpnaas-dashboard@stable/ussuri \
|
||||
git+https://opendev.org/openstack/octavia-dashboard@stable/ussuri \
|
||||
git+https://opendev.org/openstack/sahara-dashboard@stable/ussuri \
|
||||
git+https://opendev.org/openstack/magnum-ui@stable/ussuri \
|
||||
python-memcached
|
||||
|
||||
FROM docker.io/opendevorg/uwsgi-base
|
||||
COPY --from=builder /output/ /output
|
||||
RUN apt update && apt -y install git && \
|
||||
/output/install-from-bindep && \
|
||||
apt -y purge git && apt clean all
|
||||
FROM vexxhost/python-builder AS builder
|
||||
FROM vexxhost/python-base
|
||||
WORKDIR /usr/local/lib/python3.7/site-packages/openstack_dashboard
|
||||
RUN ln -s /etc/horizon/local_settings.py local/local_settings.py && \
|
||||
cp ../designatedashboard/enabled/*.py enabled/ && \
|
||||
|
1
images/horizon/constraints.txt
Normal file
1
images/horizon/constraints.txt
Normal file
@ -0,0 +1 @@
|
||||
--constraint https://releases.openstack.org/constraints/upper/ussuri
|
9
images/horizon/requirements.txt
Normal file
9
images/horizon/requirements.txt
Normal file
@ -0,0 +1,9 @@
|
||||
uWSGI
|
||||
python-memcached
|
||||
git+https://opendev.org/openstack/horizon@stable/ussuri
|
||||
git+https://opendev.org/openstack/heat-dashboard@stable/ussuri
|
||||
git+https://opendev.org/openstack/designate-dashboard@stable/ussuri
|
||||
git+https://opendev.org/openstack/neutron-vpnaas-dashboard@stable/ussuri
|
||||
git+https://opendev.org/openstack/octavia-dashboard@stable/ussuri
|
||||
git+https://opendev.org/openstack/sahara-dashboard@stable/ussuri
|
||||
git+https://opendev.org/openstack/magnum-ui@stable/ussuri
|
Loading…
x
Reference in New Issue
Block a user