error_agency-docker 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 146cbf7bba5c79e41d2fdda9e3c2efc1cd226e88f159f2f1bd1cd8f1fa6db713
|
4
|
+
data.tar.gz: bde0db5db3ff2b473237dec4e025f87676579819c7601de97a8564da7259b152
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3bc7ec732f4b6bf96be79d4ffa798a3bc4267d9a9ef4603f7089984a6eeb8f522f09d6b7b36549dc6a73b52dcee28296f03d34f6f29ca51e0020565215ef7b3e
|
7
|
+
data.tar.gz: 985205d0d056912ceb5769a1f7232b3d02ec42b493260694f96721bdb7ad2533353e8cedcf78d449b016f598961b727e56eb036af1239d97977089d79b18d62c
|
@@ -32,6 +32,7 @@ module ErrorAgency
|
|
32
32
|
|
33
33
|
template "rails_base/Dockerfile.erb", "config/docker/rails_base/Dockerfile"
|
34
34
|
template "rails_base/entrypoint.sh.erb", "config/docker/rails_base/entrypoint.sh"
|
35
|
+
system 'chmod 755 config/docker/rails_base/entrypoint.sh'
|
35
36
|
end
|
36
37
|
|
37
38
|
def create_elasticsearch
|
@@ -41,9 +42,14 @@ module ErrorAgency
|
|
41
42
|
end
|
42
43
|
end
|
43
44
|
|
45
|
+
def write_configs
|
46
|
+
|
47
|
+
end
|
48
|
+
|
44
49
|
def build_images
|
45
50
|
if options[:build]
|
46
|
-
system "docker-compose build"
|
51
|
+
system "docker-compose build && docker-compose run --rm shell bundle"
|
52
|
+
|
47
53
|
end
|
48
54
|
end
|
49
55
|
|