Skip to content

Commit

Permalink
Copy .ruby-version to container (#368)
Browse files Browse the repository at this point in the history
With the change in a61579c, `.ruby-version` is now a required file in
order to successfully `bundle install`. This is especially true in CI
build jobs.

So, this change copies that file into the container before we run
`bundle install`.
  • Loading branch information
jgarber623 authored Dec 30, 2023
2 parents 19be63b + a03acae commit f3ef190
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ RUN apk add --no-cache --update g++ make
# See: https://github.com/sparklemotion/nokogiri/issues/2430
RUN apk add --no-cache --update gcompat

COPY Gemfile Gemfile.lock ./
COPY .ruby-version Gemfile Gemfile.lock ./

RUN bundle install \
&& bundle clean --force \
Expand Down

0 comments on commit f3ef190

Please sign in to comment.