kolla/docker/cyborg/cyborg-agent/Dockerfile.j2
jinyuanliu 3b5d8ccd65 Clean up extra spaces
I recently reviewed the code, although these errors are not important, they affect the code specification.

Change-Id: Ie89f3628c9dfab683973d845a3812bccac9f5bb8
2021-06-28 10:53:34 +00:00

25 lines
675 B
Django/Jinja

FROM {{ namespace }}/{{ image_prefix }}cyborg-base:{{ tag }}
{% block labels %}
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
{% endblock %}
{% block cyborg_agent_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% set cyborg_agent_packages = [
'pciutils',
] %}
{{ macros.install_packages(cyborg_agent_packages | customizable("packages")) }}
{% if install_type == 'source' %}
{% set cyborg_agent_pip_packages = [ ] %}
RUN {{ macros.install_pip(cyborg_agent_pip_packages | customizable("pip_packages")) }}
{% endif %}
{% block cyborg_agent_footer %}{% endblock %}
{% block footer %}{% endblock %}