Skip to content

Commit

Permalink
fix deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
wr0ngway committed Feb 24, 2021
1 parent 8885435 commit 0703ff6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ RUN apk --update upgrade && \
rm -rf /var/cache/apk/*

COPY . $APP_DIR/
RUN bundle install --deployment --jobs=4 --without development test
RUN bundle config set deployment 'true' && \
bundle config set without 'development test' && \
bundle install --jobs=4

FROM base AS release

Expand Down
22 changes: 11 additions & 11 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
kubetruth (0.2.0)
kubetruth (0.2.1)
activesupport
clamp
gem_logger
Expand All @@ -12,7 +12,7 @@ PATH
GEM
remote: https://rubygems.org/
specs:
activesupport (6.1.1)
activesupport (6.1.3)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
Expand All @@ -23,7 +23,7 @@ GEM
byebug (11.1.3)
clamp (1.3.2)
coderay (1.1.3)
concurrent-ruby (1.1.7)
concurrent-ruby (1.1.8)
coveralls (0.8.23)
json (>= 1.8, < 3)
simplecov (~> 0.16.1)
Expand All @@ -35,13 +35,13 @@ GEM
docile (1.3.2)
domain_name (0.5.20190701)
unf (>= 0.0.5, < 1.0.0)
ffi (1.13.1)
ffi (1.14.2)
ffi-compiler (1.0.1)
ffi (>= 1.0.0)
rake
gem_logger (0.3.0)
activesupport
graphql (1.11.6)
graphql (1.12.5)
graphql-client (0.16.0)
activesupport (>= 3.0)
graphql (~> 1.8)
Expand All @@ -55,12 +55,12 @@ GEM
http-cookie (1.0.3)
domain_name (~> 0.5)
http-form_data (2.3.0)
http-parser (1.2.2)
ffi-compiler
i18n (1.8.7)
http-parser (1.2.3)
ffi-compiler (>= 1.0, < 2.0)
i18n (1.8.9)
concurrent-ruby (~> 1.0)
json (2.3.1)
jsonpath (1.0.6)
jsonpath (1.1.0)
multi_json
kubeclient (4.9.1)
http (>= 3.0, < 5.0)
Expand All @@ -74,8 +74,8 @@ GEM
method_source (1.0.0)
mime-types (3.3.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2020.1104)
minitest (5.14.3)
mime-types-data (3.2021.0212)
minitest (5.14.4)
multi_json (1.15.0)
netrc (0.11.0)
pry (0.13.1)
Expand Down

0 comments on commit 0703ff6

Please sign in to comment.