kuryr-kubernetes/devstack
Michał Dulko 8b76509514 Clean up Dockerfiles and how we build them
This commit does several cleanups to the Dockerfiles that we have:

* git is removed from the images after Kuryr packages installation
* jq and wget is removed from kuryr-cni image as those ar no longer used
* explicit setuptools installation is no longer required
* raw Kuryr code is removed from images after it's `pip install`ed
* unnecessary VOLUME line is removed from kuryr-cni Dockerfile
* CNI_CONFIG_DIR and CNI_BIN_DIR build arguments are removed from
  kuryr-cni Dockerfile as they are not used anywhere. Initially we've
  kept them to allow deployer to tell where host's /etc/cni/net.d and
  /opt/cni/bin will be mounted, but one of the refactorings of
  cni_ds_init must have stopped depending on them and we simply started
  to expect the mounts to be in the same paths as on host. We can
  continue to do that.

The build_cni_daemonset_image script was created back in the time when
we have had multi-stage build of the kuryr-cni image. This is no longer
the case and building the image is as easy as:

    `docker build -f cni.Dockerfile .`

Given that this commit removes the script and updates documentation to
recommend using `docker build` directly.

Change-Id: Ib1807344ede11ec6845e5f09c5a87c29a779af03
2018-12-17 10:40:50 +01:00
..
lib Clean up Dockerfiles and how we build them 2018-12-17 10:40:50 +01:00
kubectl devstack: Create infra for K8s API accessing pods 2017-06-04 16:31:33 +03:00
local.conf.df.sample Add KURYR_ENABLED_HANDLERS to devstack sample files 2018-12-04 13:19:20 +01:00
local.conf.odl.sample Add KURYR_ENABLED_HANDLERS to devstack sample files 2018-12-04 13:19:20 +01:00
local.conf.openshift.sample Add KURYR_ENABLED_HANDLERS to devstack sample files 2018-12-04 13:19:20 +01:00
local.conf.ovn.sample Merge "Use /var/run instead of /var/run/openvswitch" 2018-12-07 11:13:13 +00:00
local.conf.pod-in-vm.overcloud.sample Deprecate running kuryr-k8s without kuryr-daemon 2018-03-14 15:44:16 +01:00
local.conf.pod-in-vm.undercloud.df.sample Dragonflow support: Installation & Configuration 2017-08-30 08:02:17 +03:00
local.conf.pod-in-vm.undercloud.odl.sample Remove SCREEN_LOGDIR from devstack 2017-10-06 08:42:02 +07:00
local.conf.pod-in-vm.undercloud.ovn.sample Add support and documentation for OVN 2018-02-14 15:35:54 +01:00
local.conf.pod-in-vm.undercloud.sample Remove SCREEN_LOGDIR from devstack 2017-10-06 08:42:02 +07:00
local.conf.sample Merge "Use /var/run instead of /var/run/openvswitch" 2018-12-07 11:13:13 +00:00
local.conf.worker.sample kuryr-controller A/P HA 2018-06-14 10:25:34 +02:00
plugin.sh Clean up Dockerfiles and how we build them 2018-12-17 10:40:50 +01:00
settings Merge "Use /var/run instead of /var/run/openvswitch" 2018-12-07 11:13:13 +00:00