Skip to content

Commit

Permalink
fix: update ruby image, fix bundler version
Browse files Browse the repository at this point in the history
  • Loading branch information
yksflip committed Jan 26, 2024
1 parent ac3aeae commit c450368
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ruby:2.7
FROM ruby:2.7.8

RUN supercronicUrl=https:/aptible/supercronic/releases/download/v0.1.3/supercronic-linux-amd64 && \
supercronicBin=/usr/local/bin/supercronic && \
Expand All @@ -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 && \
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile-dev
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ruby:2.7
FROM ruby:2.7.8

# Install dependencies
RUN deps='libmagic-dev chromium nodejs' && \
Expand All @@ -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
Expand Down

0 comments on commit c450368

Please sign in to comment.