Fix broken chef/berkshelf install in docker images 98/130398/2
authorvasraz <vasyl.razinkov@est.tech>
Sat, 20 Aug 2022 09:13:09 +0000 (10:13 +0100)
committerVasyl Razinkov <vasyl.razinkov@est.tech>
Mon, 22 Aug 2022 09:38:12 +0000 (09:38 +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

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 35ce795..551c52d 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 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 && \
index 1b9de33..2714a35 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 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 && \
index 265d002..cd88656 100644 (file)
@@ -12,6 +12,7 @@ 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 && \
index a860623..6f62db4 100644 (file)
@@ -12,6 +12,7 @@ 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 && \
index f6ed6c4..a9ab7a9 100644 (file)
@@ -13,6 +13,7 @@ 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 && \
index c22fed7..b5b3c4d 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 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 && \
index 66092e0..b5b36fa 100644 (file)
@@ -12,6 +12,7 @@ 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 && \