Fix broken images build due to multipart-post gem 87/129587/3
authorvasraz <vasyl.razinkov@est.tech>
Thu, 9 Jun 2022 18:36:13 +0000 (19:36 +0100)
committerVasyl Razinkov <vasyl.razinkov@est.tech>
Fri, 10 Jun 2022 09:50:54 +0000 (09:50 +0000)
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 <vasyl.razinkov@est.tech>
Change-Id: Ie7a7232be817f005c36f09b023344b479c64457f
Issue-ID: SDC-4041

asdctool/sdc-cassandra-init/Dockerfile
catalog-be/sdc-backend-init/Dockerfile
catalog-be/src/main/docker/backend/Dockerfile
catalog-fe/sdc-frontend/Dockerfile
openecomp-be/dist/sdc-onboard-backend-docker/artifacts/Dockerfile
openecomp-be/dist/sdc-onboard-db-init-docker/artifacts/Dockerfile
utils/webseal-simulator/sdc-simulator/Dockerfile

index f18eb70..35ce795 100644 (file)
@@ -22,6 +22,7 @@ RUN apt-get update --allow-releaseinfo-change && apt-get install -y python-pip &
     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 && \
     apt-get update -y && apt-get remove bash -y --allow-remove-essential && \
     apt-get install -y binutils && apt-get clean && gem cleanup
index 8f6da77..1b9de33 100644 (file)
@@ -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
index 9026955..265d002 100644 (file)
@@ -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"]
index d0978a9..a860623 100644 (file)
@@ -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"]
index aa9929c..f6ed6c4 100644 (file)
@@ -13,6 +13,7 @@ RUN set -ex && \
         libffi-dev \
         libxml2-dev \
         libressl-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
index abd09a9..c22fed7 100644 (file)
@@ -22,6 +22,7 @@ RUN apt-get update --allow-releaseinfo-change && apt-get install -y python-pip &
     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 && \
     apt-get update -y && apt-get remove bash -y --allow-remove-essential && \
     apt-get install -y binutils && apt-get clean && gem cleanup
index 6497ff8..66092e0 100644 (file)
@@ -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