diff options
author | 2022-08-20 10:13:09 +0100 | |
---|---|---|
committer | 2022-09-01 08:18:12 +0000 | |
commit | a062326d5c284d58dc009387f4c30488d2fdbb43 (patch) | |
tree | 11a3f16477109e39f4ae8f1d610f6f99676d8e73 /catalog-be/sdc-backend-init | |
parent | 5ae80618434419a4fbf773e05e8771e067f3e25f (diff) |
Fix broken chef/berkshelf install in docker images
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)
Diffstat (limited to 'catalog-be/sdc-backend-init')
-rw-r--r-- | catalog-be/sdc-backend-init/Dockerfile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/catalog-be/sdc-backend-init/Dockerfile b/catalog-be/sdc-backend-init/Dockerfile index 8f6da77d19..2714a357d8 100644 --- a/catalog-be/sdc-backend-init/Dockerfile +++ b/catalog-be/sdc-backend-init/Dockerfile @@ -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 |