From c45036810eeced044a58dac615a629a7b1fb78d0 Mon Sep 17 00:00:00 2001 From: Philipp Rothmann Date: Fri, 26 Jan 2024 16:43:12 +0100 Subject: [PATCH] fix: update ruby image, fix bundler version --- Dockerfile | 4 ++-- Dockerfile-dev | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index e8f6a4c00..1bf896b50 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ruby:2.7 +FROM ruby:2.7.8 RUN supercronicUrl=https://github.com/aptible/supercronic/releases/download/v0.1.3/supercronic-linux-amd64 && \ supercronicBin=/usr/local/bin/supercronic && \ @@ -22,7 +22,7 @@ RUN buildDeps='libmagic-dev' && \ apt-get update && \ apt-get install --no-install-recommends -y $buildDeps && \ echo 'gem: --no-document' >> ~/.gemrc && \ - gem install bundler && \ + gem install bundler -v 2.4.22 && \ bundle config build.nokogiri "--use-system-libraries" && \ bundle install --deployment --without development test -j 4 && \ apt-get purge -y --auto-remove $buildDeps && \ diff --git a/Dockerfile-dev b/Dockerfile-dev index 37dce5f6b..be9c77cd0 100644 --- a/Dockerfile-dev +++ b/Dockerfile-dev @@ -1,4 +1,4 @@ -FROM ruby:2.7 +FROM ruby:2.7.8 # Install dependencies RUN deps='libmagic-dev chromium nodejs' && \ @@ -19,7 +19,7 @@ ENV PORT=3000 \ WORKDIR /app -RUN gem install bundler +RUN gem install bundler -v 2.4.22 RUN bundle config build.nokogiri "--use-system-libraries" EXPOSE 3000