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
29 lines
786 B
Django/Jinja
29 lines
786 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_console_header %}{% endblock %}
|
|
|
|
{% import "macros.j2" as macros with context %}
|
|
|
|
{% set skyline_console_packages = [
|
|
'nginx'
|
|
] %}
|
|
|
|
{{ macros.install_packages(skyline_console_packages | customizable("packages")) }}
|
|
|
|
ADD skyline-console-archive /skyline-console-source
|
|
|
|
{% set skyline_console_pip_packages = [
|
|
'/skyline-console'
|
|
] %}
|
|
|
|
RUN ln -s skyline-console-source/* skyline-console \
|
|
&& {{ macros.install_pip(skyline_console_pip_packages | customizable("pip_packages")) }}
|
|
|
|
{% block skyline_console_footer %}{% endblock %}
|
|
{% block footer %}{% endblock %}
|
|
|
|
USER root
|