[Docker] Install bundler into image

This commit is contained in:
Earlopain 2022-04-25 19:52:55 +02:00
parent d7b5131c87
commit 5c215ea154
No known key found for this signature in database
GPG Key ID: 6CFB948E15246897
2 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,9 @@ COPY package.json yarn.lock ./
RUN yarn install RUN yarn install
COPY Gemfile Gemfile.lock ./ COPY Gemfile Gemfile.lock ./
RUN bundle install RUN bundle install -j$(nproc) && \
gem install bundler:2.0.1 && \
bundler config github.https true
# shoreman # shoreman
RUN wget -O /usr/bin/shoreman https://github.com/chrismytton/shoreman/raw/master/shoreman.sh \ RUN wget -O /usr/bin/shoreman https://github.com/chrismytton/shoreman/raw/master/shoreman.sh \

View File

@ -14,8 +14,6 @@ FileUtils.chdir APP_ROOT do
# Add necessary setup steps to this file. # Add necessary setup steps to this file.
puts '== Installing dependencies ==' puts '== Installing dependencies =='
system! 'gem install bundler:2.0.1'
system! 'bundler config github.https true'
system('bundle check') || system!('bundle install -j$(nproc)') system('bundle check') || system!('bundle install -j$(nproc)')
# Install JavaScript dependencies # Install JavaScript dependencies