summaryrefslogtreecommitdiffstats
path: root/catalog-be/sdc-backend-init
diff options
context:
space:
mode:
authorvasraz <vasyl.razinkov@est.tech>2023-06-06 17:12:59 +0100
committerVasyl Razinkov <vasyl.razinkov@est.tech>2023-06-06 19:00:34 +0000
commit36edaac642e0ec65e0d2287d7d8cbcbe15c2914a (patch)
treee11e57d747471a97a04c5c777c1cec78d76b0390 /catalog-be/sdc-backend-init
parent11abcf3163405b3dae8b0520da4babb007337a3b (diff)
Improve build image time
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I325b2ba1626effee614e5e82aead4a01adb13c5d Issue-ID: SDC-4526
Diffstat (limited to 'catalog-be/sdc-backend-init')
-rw-r--r--catalog-be/sdc-backend-init/Dockerfile7
1 files changed, 2 insertions, 5 deletions
diff --git a/catalog-be/sdc-backend-init/Dockerfile b/catalog-be/sdc-backend-init/Dockerfile
index 25e2e58ef5..76e502ab16 100644
--- a/catalog-be/sdc-backend-init/Dockerfile
+++ b/catalog-be/sdc-backend-init/Dockerfile
@@ -22,11 +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 etc -v 1.3.0 --no-document && \
- gem install bundler -v 2.3.26 --no-document && \
- gem install chef:13.8.5 berkshelf:6.3.1 io-console:0.4.6 webrick --no-document && \
+ gem update --system --no-document && \
+ gem install --no-update-sources public_suffix:4.0.7 multipart-post:2.2.0 etc:1.3.0 bundler:2.3.26 chef:13.8.5 berkshelf:6.3.1 io-console:0.4.6 webrick --no-document && \
apk del .build-dependencies && \
gem cleanup