diff options
| -rw-r--r-- | docker/openstack-base/Dockerfile.j2 | 11 | ||||
| -rw-r--r-- | releasenotes/notes/fix-git-build-23c8fe6c4b0d92c4.yaml | 6 |
2 files changed, 11 insertions, 6 deletions
diff --git a/docker/openstack-base/Dockerfile.j2 b/docker/openstack-base/Dockerfile.j2 index df03aaced..1df4321e5 100644 --- a/docker/openstack-base/Dockerfile.j2 +++ b/docker/openstack-base/Dockerfile.j2 @@ -135,7 +135,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build 'pika', 'prettytable', 'psutil', - '/pycadf', + '/plugins/pycadf*', 'pyinotify', 'pymysql', 'pyngus', @@ -182,13 +182,12 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build %} ADD openstack-base-archive /openstack-base-source -ADD plugins-archive /openstack-base-source +ADD plugins-archive / -RUN ln -s openstack-base-source/plugins/* /pycadf \ - && mkdir -p /etc/pycadf \ - && cp /pycadf/etc/pycadf/* /etc/pycadf/ +RUN mkdir -p /etc/pycadf \ + && cp /plugins/pycadf*/etc/pycadf/* /etc/pycadf/ -RUN ln -s openstack-base-source/*requirements* /requirements \ +RUN ln -s openstack-base-source/* /requirements \ {# NOTE(mnasiadka): Remove ovs from upper-constraints.txt because python3-openvswitch is usually newer than UC entry and older version would get installed diff --git a/releasenotes/notes/fix-git-build-23c8fe6c4b0d92c4.yaml b/releasenotes/notes/fix-git-build-23c8fe6c4b0d92c4.yaml new file mode 100644 index 000000000..e89710b75 --- /dev/null +++ b/releasenotes/notes/fix-git-build-23c8fe6c4b0d92c4.yaml @@ -0,0 +1,6 @@ +--- +fixes: + - | + Fixed a bug preventing image builds when requirements are provided from + git type source. + `LP#2074075 <https://bugs.launchpad.net/kolla/+bug/2074075>`__ |
