From 101e0a83d8a6b4690dafe72543b245e25af9255a Mon Sep 17 00:00:00 2001 From: vasraz Date: Thu, 9 Jun 2022 19:36:13 +0100 Subject: Fix broken images build due to multipart-post gem Maximum supported version of multipart-post, with the current images Ruby & RubyGems is 2.2.0. Forcing the 2.2.0 version. Signed-off-by: Vasyl Razinkov Change-Id: Ie7a7232be817f005c36f09b023344b479c64457f Issue-ID: SDC-4041 --- catalog-be/sdc-backend-init/Dockerfile | 1 + catalog-be/src/main/docker/backend/Dockerfile | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'catalog-be') diff --git a/catalog-be/sdc-backend-init/Dockerfile b/catalog-be/sdc-backend-init/Dockerfile index 8f6da77d19..1b9de33072 100644 --- a/catalog-be/sdc-backend-init/Dockerfile +++ b/catalog-be/sdc-backend-init/Dockerfile @@ -22,6 +22,7 @@ RUN apk update && \ python -m pip install --upgrade pip \ pip install 'pycurl==7.44.1' && \ set -ex && \ + gem install multipart-post -v 2.2.0 --no-document && \ gem install chef:13.8.5 berkshelf:6.3.1 io-console:0.4.6 etc webrick --no-document && \ apk del .build-dependencies && \ gem cleanup diff --git a/catalog-be/src/main/docker/backend/Dockerfile b/catalog-be/src/main/docker/backend/Dockerfile index 902695519b..265d002ae3 100644 --- a/catalog-be/src/main/docker/backend/Dockerfile +++ b/catalog-be/src/main/docker/backend/Dockerfile @@ -12,6 +12,7 @@ RUN set -ex && \ ruby-dev \ libffi-dev \ libxml2-dev && \ + gem install multipart-post -v 2.2.0 --no-document && \ gem install chef:13.8.5 berkshelf:6.3.1 io-console:0.4.6 etc webrick --no-document && \ gem cleanup && \ apk update @@ -40,4 +41,4 @@ COPY --chown=onap:onap startup.sh $JETTY_FOLDER/ RUN chmod 770 $JETTY_FOLDER/startup.sh -ENTRYPOINT [ "sh", "-c", "${JETTY_HOME}/startup.sh"] \ No newline at end of file +ENTRYPOINT [ "sh", "-c", "${JETTY_HOME}/startup.sh"] -- cgit 1.2.3-korg