kolla/docker/ptp/Dockerfile.j2
Zenghui Shi 725c14c43e Add ptp service docker image
Change-Id: I317ae1fe3bb33cda4e5b947e5418f9419373d7c5
Partial-implements: blueprint ptp-service
2017-11-09 19:41:38 +08:00

17 lines
517 B
Django/Jinja

FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }}
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
{% block ptp_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% set ptp_packages = ['linuxptp'] %}
{{ macros.install_packages(ptp_packages | customizable("packages")) }}
COPY extend_start.sh /usr/local/bin/kolla_extend_start
RUN chmod 755 /usr/local/bin/kolla_extend_start
{% block ptp_footer %}{% endblock %}
{% block footer %}{% endblock %}