Skip to content

Commit

Permalink
Update version to 1.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
webwurst committed Jan 7, 2017
1 parent cf9e69b commit d202763
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM ruby:2.4
FROM ruby:2.3
# FROM ruby:2.4

RUN apt-get update \
&& apt-get install -y --no-install-recommends \
Expand All @@ -22,10 +23,10 @@ RUN curl -sfSL https://github.com/discourse/discourse/archive/v${DISCOURSE_VERSI
| tar -zx --strip-components=1 -C /usr/src/app \
&& bundle config build.nokogiri --use-system-libraries

# works on ruby 2.4 with this:
RUN bundle config frozen 0 \
&& echo "gem 'json', git: 'https://github.com/flori/json.git', branch: 'v1.8'" >> Gemfile \
&& bundle update
# # works on ruby:2.4 with this:
# RUN bundle config frozen 0 \
# && echo "gem 'json', git: 'https://github.com/flori/json.git', branch: 'v1.8'" >> Gemfile \
# && bundle update

RUN bundle install --deployment --without test --without development

Expand Down

0 comments on commit d202763

Please sign in to comment.