boxing 0.6.3 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +2 -0
- data/lib/boxing/config.rb +1 -1
- data/lib/boxing/version.rb +1 -1
- data/templates/Dockerfile.tt +9 -8
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb92f9e7966c3a451361f7e1c69ec5f9e420888b4b5d41ec31824211acd964ce
|
4
|
+
data.tar.gz: 4a6713c8b7829a7621a38c26ea8e7089d2142450971ce01adc326fba8c3f3946
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3270e71d3fb6a2d15a98f7a1516be83ddda40e516b8013acf662f58e1ddc8d6699bd618361eb46591dd5664164cebe4112d62c8105a7de097251c13bc436338
|
7
|
+
data.tar.gz: b20c971714e113f171f80502128a4faf8ba91ddd85b9a7515858501c928113a9a561a22780d6c23d24ecc11cac094d022b77d733275dbb27b75f2db6bd4b92a4
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
data/lib/boxing/config.rb
CHANGED
data/lib/boxing/version.rb
CHANGED
data/templates/Dockerfile.tt
CHANGED
@@ -15,19 +15,20 @@ RUN gem install bundler:<%= Bundler::VERSION %> \
|
|
15
15
|
&& bundle config --local deployment 'true' \
|
16
16
|
&& bundle config --local frozen 'true' \
|
17
17
|
&& bundle config --local no-cache 'true' \
|
18
|
-
&& bundle config --local system 'true' \
|
19
18
|
&& bundle config --local without 'development test' \
|
20
19
|
&& bundle install -j "$(getconf _NPROCESSORS_ONLN)" \
|
21
|
-
&& find
|
22
|
-
&& find
|
23
|
-
&& find /
|
24
|
-
&& find /
|
25
|
-
&& rm -rf /usr/local/bundle/cache/*.gem
|
20
|
+
&& find ${APP_ROOT}/vendor/bundle -type f -name '*.c' -delete \
|
21
|
+
&& find ${APP_ROOT}/vendor/bundle -type f -name '*.h' -delete \
|
22
|
+
&& find ${APP_ROOT}/vendor/bundle -type f -name '*.o' -delete \
|
23
|
+
&& find ${APP_ROOT}/vendor/bundle -type f -name '*.gem' -delete
|
26
24
|
|
27
25
|
<%- if config.assets_precompile -%>
|
28
26
|
FROM node:${NODE_VERSION}-alpine as node
|
29
27
|
FROM ruby:${RUBY_VERSION}-alpine as assets
|
30
28
|
ARG APP_ROOT
|
29
|
+
ARG RAILS_MASTER_KEY
|
30
|
+
|
31
|
+
ENV RAILS_MASTER_KEY $RAILS_MASTER_KEY
|
31
32
|
|
32
33
|
<%- if packages.select(&:runtime?).any? -%>
|
33
34
|
RUN apk add --no-cache <%= packages.select(&:runtime?).join(' ') %> yarn
|
@@ -37,7 +38,7 @@ COPY --from=node /usr/local/bin/node /usr/local/bin/node
|
|
37
38
|
|
38
39
|
COPY --from=gem /usr/local/bundle/config /usr/local/bundle/config
|
39
40
|
COPY --from=gem /usr/local/bundle /usr/local/bundle
|
40
|
-
COPY --from=gem
|
41
|
+
COPY --from=gem ${APP_ROOT}/vendor/bundle ${APP_ROOT}/vendor/bundle
|
41
42
|
|
42
43
|
RUN mkdir -p ${APP_ROOT}
|
43
44
|
COPY . ${APP_ROOT}
|
@@ -56,7 +57,7 @@ RUN apk add --no-cache <%= packages.select(&:runtime?).join(' ') %>
|
|
56
57
|
<%- end -%>
|
57
58
|
COPY --from=gem /usr/local/bundle/config /usr/local/bundle/config
|
58
59
|
COPY --from=gem /usr/local/bundle /usr/local/bundle
|
59
|
-
COPY --from=gem
|
60
|
+
COPY --from=gem ${APP_ROOT}/vendor/bundle ${APP_ROOT}/vendor/bundle
|
60
61
|
|
61
62
|
RUN mkdir -p ${APP_ROOT}
|
62
63
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: boxing
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- 蒼時弦也
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-05-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|