forked from e621ng/e621ng
[Docker] Install bundler into image
This commit is contained in:
parent
d7b5131c87
commit
5c215ea154
@ -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 \
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user