Skip to content

Commit d769592

Browse files
Merge pull request #2636 from hugginsio/hugginsio/2635
fix(docker): address `system` and `without` flag deprecations in Bundler
2 parents ec7198e + 20a0565 commit d769592

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ RUN apt-get update && \
1111

1212
COPY Gemfile Gemfile.lock Rakefile /devdocs/
1313

14-
RUN bundle install --system && \
14+
RUN bundle config set path.system true && \
15+
bundle install && \
1516
rm -rf ~/.gem /root/.bundle/cache /usr/local/bundle/cache
1617

1718
COPY . /devdocs

Dockerfile-alpine

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ COPY . /devdocs
99

1010
RUN apk --update add nodejs build-base libstdc++ gzip git zlib-dev libcurl && \
1111
gem install bundler && \
12-
bundle install --system --without test && \
12+
bundle config set path.system true && \
13+
bundle config set without 'test' && \
14+
bundle install && \
1315
thor docs:download --all && \
1416
thor assets:compile && \
1517
apk del gzip build-base git zlib-dev && \

0 commit comments

Comments
 (0)