We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ec7198e + 20a0565 commit d769592Copy full SHA for d769592
2 files changed
Dockerfile
@@ -11,7 +11,8 @@ RUN apt-get update && \
11
12
COPY Gemfile Gemfile.lock Rakefile /devdocs/
13
14
-RUN bundle install --system && \
+RUN bundle config set path.system true && \
15
+ bundle install && \
16
rm -rf ~/.gem /root/.bundle/cache /usr/local/bundle/cache
17
18
COPY . /devdocs
Dockerfile-alpine
@@ -9,7 +9,9 @@ COPY . /devdocs
9
10
RUN apk --update add nodejs build-base libstdc++ gzip git zlib-dev libcurl && \
gem install bundler && \
- bundle install --system --without test && \
+ bundle config set path.system true && \
+ bundle config set without 'test' && \
thor docs:download --all && \
thor assets:compile && \
apk del gzip build-base git zlib-dev && \
0 commit comments