-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
David Garcia
committed
Sep 14, 2018
1 parent
e849e0c
commit c38190a
Showing
2 changed files
with
22 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,20 @@ | ||
FROM ruby:2.4.4-alpine | ||
FROM ruby:2.5.1-alpine | ||
|
||
RUN apk add --no-cache --virtual runtime-deps \ | ||
git \ | ||
bash \ | ||
&& apk add --no-cache --virtual build-deps \ | ||
alpine-sdk \ | ||
cmake \ | ||
g++ \ | ||
openssl-dev | ||
openssl-dev \ | ||
alpine-sdk \ | ||
cmake \ | ||
g++ | ||
|
||
RUN mkdir /usr/src/app | ||
WORKDIR /usr/src/app | ||
|
||
RUN gem install pronto -v 0.9.5 | ||
RUN gem install pronto-brakeman -v 0.9.1 \ | ||
&& gem install pronto-fasterer -v 0.9.0 \ | ||
&& gem install pronto-flay -v 0.9.0 \ | ||
&& gem install pronto-haml -v 0.9.0 \ | ||
&& gem install pronto-jshint -v 0.9.0 \ | ||
&& gem install pronto-rails_best_practices -v 0.9.0 \ | ||
&& gem install pronto-reek -v 0.9.1 \ | ||
&& gem install pronto-rubocop -v 0.9.1 \ | ||
&& gem install pronto-scss -v 0.9.1 | ||
ADD Gemfile.pronto /usr/src/app/Gemfile.pronto | ||
|
||
RUN apk del build-deps | ||
RUN gem install bundler | ||
RUN BUNDLE_GEMFILE=Gemfile.pronto bundle install -j16 | ||
|
||
CMD ["pronto", "run"] | ||
|
||
ENTRYPOINT ["BUNDLE_GEMFILE=Gemfile.pronto","bundle", "exec", "pronto"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
source 'https://rubygems.org' | ||
|
||
gem 'pronto', '= 0.9.5' | ||
gem 'pronto-brakeman', '= 0.9.1' | ||
gem 'pronto-fasterer', '= 0.9.0' | ||
gem 'pronto-flay', '= 0.9.0' | ||
gem 'pronto-haml', '= 0.9.0' | ||
gem 'pronto-jshint', '= 0.9.0' | ||
gem 'pronto-rails_best_practices', '= 0.9.0' | ||
gem 'pronto-reek', '= 0.9.1' | ||
gem 'pronto-rubocop', '= 0.9.1' | ||
gem 'pronto-scss', '= 0.9.1' |