460cab6a99
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>
14 lines
367 B
Docker
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" ]
|