Fix catalog-be docker build error
Applying a similar fix from SDC-4289 to fix build failure in Jenkins
Issue-ID: SDC-4302
Signed-off-by: eschcam <cameron.scholes@est.tech>
Change-Id: Idaeafa4245729359d2a7530705b362a6963724ce
diff --git a/catalog-be/sdc-backend-init/Dockerfile b/catalog-be/sdc-backend-init/Dockerfile
index 2714a35..2851e14 100644
--- a/catalog-be/sdc-backend-init/Dockerfile
+++ b/catalog-be/sdc-backend-init/Dockerfile
@@ -24,7 +24,8 @@
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 && \
+ gem install chef:13.8.5 berkshelf:6.3.1 io-console:0.4.6 webrick --no-document && \
+ gem install etc -v 1.3.0 --no-document && \
apk del .build-dependencies && \
gem cleanup
diff --git a/catalog-be/src/main/docker/backend/Dockerfile b/catalog-be/src/main/docker/backend/Dockerfile
index cd88656..7ff5c2b 100644
--- a/catalog-be/src/main/docker/backend/Dockerfile
+++ b/catalog-be/src/main/docker/backend/Dockerfile
@@ -14,7 +14,8 @@
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 install chef:13.8.5 berkshelf:6.3.1 io-console:0.4.6 webrick --no-document && \
+ gem install etc -v 1.3.0 --no-document && \
gem cleanup && \
apk update