Fix broken chef/berkshelf install in docker images 19/130119/2
authorvasraz <vasyl.razinkov@est.tech>
Sat, 20 Aug 2022 09:13:09 +0000 (10:13 +0100)
committerVasyl Razinkov <vasyl.razinkov@est.tech>
Thu, 1 Sep 2022 08:18:12 +0000 (08:18 +0000)
Set a specific version for the ruby gem "public_suffix", required by chef/berkshelf,
to be compatible with the used version of ruby (2.5.0).

Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: I963a60206cb1f22296fcb5a9f763f326f629f077
Issue-ID: SDC-4139
(cherry picked from commit 9efabf266f2c21ba7aa30a2ddea5eabfc145ac43)

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..551c52d 100644 (file)
@@ -22,6 +22,8 @@ RUN apt-get update --allow-releaseinfo-change && apt-get install -y python-pip &
     ruby-dev \
     libffi-dev \
     libxml2-dev && \
+    gem install public_suffix -v 4.0.7 --no-document && \
+    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..2714a35 100644 (file)
@@ -22,6 +22,8 @@ RUN apk update && \
     python -m pip install --upgrade pip \
     pip install 'pycurl==7.44.1' &&  \
     set -ex && \
+    gem install public_suffix -v 4.0.7 --no-document && \
+    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..b8d5717 100644 (file)
@@ -12,6 +12,8 @@ RUN set -ex && \
         ruby-dev \
         libffi-dev \
         libxml2-dev && \
+    gem install public_suffix -v 4.0.7 --no-document && \
+    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 d0978a9..fd12356 100644 (file)
@@ -12,6 +12,8 @@ RUN set -ex && \
         ruby-dev \
         libffi-dev \
         libxml2-dev && \
+    gem install public_suffix -v 4.0.7 --no-document && \
+    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 aa9929c..a9ab7a9 100644 (file)
@@ -13,6 +13,8 @@ RUN set -ex && \
         libffi-dev \
         libxml2-dev \
         libressl-dev && \
+    gem install public_suffix -v 4.0.7 --no-document && \
+    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..b5b3c4d 100644 (file)
@@ -22,6 +22,8 @@ RUN apt-get update --allow-releaseinfo-change && apt-get install -y python-pip &
     ruby-dev \
     libffi-dev \
     libxml2-dev && \
+    gem install public_suffix -v 4.0.7 --no-document && \
+    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..b5b36fa 100644 (file)
@@ -12,6 +12,8 @@ RUN set -ex && \
         ruby-dev \
         libffi-dev \
         libxml2-dev && \
+    gem install public_suffix -v 4.0.7 --no-document && \
+    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