Visitar URL original
Docker: try installing the correct bundler version (#1067) · stringer-rss/stringer@1b32d5c · GitHub
Skip to content

Commit 1b32d5c

Browse files
authored
Docker: try installing the correct bundler version (#1067)
The [Docker build on CircleCI failed][bf], so hopefully this will fix the issue. [bf]: https://app.circleci.com/pipelines/github/stringer-rss/stringer/989/workflows/881b0ae1-c389-42d6-b241-93f40d77beb4/jobs/993
1 parent a8146f3 commit 1b32d5c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎Dockerfile‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@ FROM ruby:3.2.2
33
ENV RACK_ENV=production
44
ENV RAILS_ENV=production
55
ENV PORT=8080
6+
ENV BUNDLER_VERSION=2.3.25
67

78
EXPOSE 8080
89

910
WORKDIR /app
1011
ADD Gemfile Gemfile.lock /app/
11-
RUN bundle install
12+
RUN gem install bundler:$BUNDLER_VERSION && bundle install
1213

1314
RUN apt-get update \
1415
&& apt-get install -y --no-install-recommends \

0 commit comments

Comments
 (0)