kuryr-kubernetes/cni.Dockerfile
Antoni Segura Puimedon 460cab6a99 CNI container: parametrize and clean up
Make the CNI config and binary locations parametrized so it is suitable
for more kinds of deployment.

Implements: blueprint kubeadminstallable
Change-Id: I01c7540641fe120faec902008ebd842339b50384
Signed-off-by: Antoni Segura Puimedon <antonisp@celebdor.com>
Co-Authored-By: Michał Dulko <mdulko@redhat.com>
2017-09-14 13:33:53 +02:00

14 lines
367 B
Docker

FROM centos:7
LABEL authors="Antoni Segura Puimedon<toni@kuryr.org>, Vikas Choudhary<vichoudh@redhat.com>"
COPY . /opt/kuryr-kubernetes
COPY kuryr-cni /kuryr-cni
COPY kuryr-cni-bin /kuryr-cni-bin
COPY cni_ds_init /usr/bin/cni_ds_init
ENV CNI_CONFIG_DIR_PATH /etc/cni/net.d
ENV CNI_BIN_DIR_PATH /opt/cni/bin
VOLUME [ "/sys/fs/cgroup" ]
ENTRYPOINT [ "cni_ds_init" ]