From 9efabf266f2c21ba7aa30a2ddea5eabfc145ac43 Mon Sep 17 00:00:00 2001 From: vasraz Date: Sat, 20 Aug 2022 10:13:09 +0100 Subject: 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 Change-Id: I963a60206cb1f22296fcb5a9f763f326f629f077 Issue-ID: SDC-4139 --- catalog-be/src/main/docker/backend/Dockerfile | 1 + 1 file changed, 1 insertion(+) (limited to 'catalog-be/src/main/docker/backend/Dockerfile') diff --git a/catalog-be/src/main/docker/backend/Dockerfile b/catalog-be/src/main/docker/backend/Dockerfile index 265d002ae3..cd8865666b 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 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 && \ -- cgit 1.2.3-korg