Skip to content
This repository was archived by the owner on Jun 18, 2025. It is now read-only.

Commit ddfd15d

Browse files
authored
Try specifying BUNDLER_VERSION
Sadly while the back-ticks installed the correct bundler, the actual install used the wrong version.
1 parent a10c635 commit ddfd15d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
FROM starefossen/ruby-node
2+
ENV BUNDLER_VERSION=2.1.4
23
RUN apt-get update -qq && apt-get install -y
34
RUN apt-get -y install git vim
45
WORKDIR /samples_extraction
56
ADD Gemfile /samples_extraction
67
ADD Gemfile.lock /samples_extraction
78
ADD package.json /samples_extraction
89
ADD yarn.lock /samples_extraction
9-
RUN gem install bundler -v `tail -n 1 Gemfile.lock`
10+
RUN gem install bundler
1011
RUN bundle install
1112
RUN yarn install
1213

0 commit comments

Comments
 (0)