9d4736820f
Skyline is a new dashboard for openstack. It contains skyline-apiserver and skyline-console. We will build both skyline-apiserver and skyline-console images for skyline. Implements: blueprint skyline Change-Id: I68a562f15bf4fdda82b86c446e14fc8b5594413a
26 lines
794 B
Django/Jinja
26 lines
794 B
Django/Jinja
FROM {{ namespace }}/{{ image_prefix }}skyline-base:{{ tag }}
|
|
{% block labels %}
|
|
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
|
|
{% endblock %}
|
|
|
|
{% block skyline_apiserver_header %}{% endblock %}
|
|
|
|
{% import "macros.j2" as macros with context %}
|
|
|
|
ADD skyline-apiserver-archive /skyline-apiserver-source
|
|
|
|
{% set skyline_apiserver_pip_packages = [
|
|
'/skyline-apiserver'
|
|
] %}
|
|
|
|
COPY extend_start.sh /usr/local/bin/kolla_skyline_extend_start
|
|
|
|
RUN ln -s skyline-apiserver-source/* skyline-apiserver \
|
|
&& {{ macros.install_pip(skyline_apiserver_pip_packages | customizable("pip_packages")) }} \
|
|
&& chmod 644 /usr/local/bin/kolla_skyline_extend_start
|
|
|
|
{% block skyline_apiserver_footer %}{% endblock %}
|
|
{% block footer %}{% endblock %}
|
|
|
|
USER skyline
|