Skip to content

Commit

Permalink
fix Dockerfile (#615)
Browse files Browse the repository at this point in the history
* add gem rails
* fix dockerfile
* change rubocop-rails config
  • Loading branch information
DMarinhoCodacy authored Jun 27, 2024
1 parent 103916c commit d6a52e4
Showing 3 changed files with 21 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -22,10 +22,10 @@ COPY docs docs

RUN echo 'gem: --no-document' > /etc/gemrc \
&& bundle install \
&& gem cleanup \
&& gem cleanup \
&& rm -rf /tmp/* /var/cache/apk/*

RUN bundle config set --local path 'vendor/bundle' && ./scripts/doc_generate.sh .
RUN bundle config set --local path 'vendor/bundle' && bundle install && gem cleanup && ./scripts/doc_generate.sh .

FROM $BASE_IMAGE

3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -8,6 +8,7 @@ end
gem "yard"
gem "rake"
gem "rdoc"
gem "rails"
gem "activesupport"
gem "actiontext"
gem "actionmailbox"
@@ -40,7 +41,7 @@ gem "rubocop-i18n"
gem "rubocop-md"
gem "rubocop-mdsol"
gem "rubocop-performance"
gem "rubocop-rails"
gem 'rubocop-rails', require: false
gem "rubocop-rake"
gem "rubocop-rspec"
gem "rubocop-rspec_rails"
19 changes: 17 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -108,7 +108,7 @@ GEM
git_diff_parser (3.2.0)
globalid (1.2.1)
activesupport (>= 6.1)
graphql (2.3.5)
graphql (2.3.6)
base64
haml (6.3.0)
temple (>= 0.8.2)
@@ -186,6 +186,20 @@ GEM
rackup (2.1.0)
rack (>= 3)
webrick (~> 1.8)
rails (7.1.3.4)
actioncable (= 7.1.3.4)
actionmailbox (= 7.1.3.4)
actionmailer (= 7.1.3.4)
actionpack (= 7.1.3.4)
actiontext (= 7.1.3.4)
actionview (= 7.1.3.4)
activejob (= 7.1.3.4)
activemodel (= 7.1.3.4)
activerecord (= 7.1.3.4)
activestorage (= 7.1.3.4)
activesupport (= 7.1.3.4)
bundler (>= 1.15.0)
railties (= 7.1.3.4)
rails-dom-testing (2.2.0)
activesupport (>= 5.0.0)
minitest
@@ -210,7 +224,7 @@ GEM
regexp_parser (2.9.2)
reline (0.5.9)
io-console (~> 0.5)
rexml (3.3.0)
rexml (3.3.1)
strscan
rollbar (3.5.2)
rubocop (1.64.1)
@@ -374,6 +388,7 @@ DEPENDENCIES
prettier
pry
puma
rails
rake
rdoc
rollbar

0 comments on commit d6a52e4

Please sign in to comment.