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: c15090368cdb7f05997649fc30b8b5ba503e9074d0bd632668884d9aabd720d1
4
- data.tar.gz: 07cdaf4a149e8a9cdbeb320bee00e50de20e9152eea1480835983553813916d7
3
+ metadata.gz: 146cbf7bba5c79e41d2fdda9e3c2efc1cd226e88f159f2f1bd1cd8f1fa6db713
4
+ data.tar.gz: bde0db5db3ff2b473237dec4e025f87676579819c7601de97a8564da7259b152
5
5
  SHA512:
6
- metadata.gz: b5ab5420644d64d838d449935e329b0125fa2502d9a7089a7a276610177bc8b6527b8684e14ce1bbeda9a24e504f0fc561748b8dc8ee238e90bcd76d5127d332
7
- data.tar.gz: da4f0c9722239ce029881475cfc2f4f6a4979c23ac6307418d75ef8ef8342362da3ccb81e31b48bed0552af3c99f44a9ece86e673936d2ed35b03ae9ed94e6b7
6
+ metadata.gz: 3bc7ec732f4b6bf96be79d4ffa798a3bc4267d9a9ef4603f7089984a6eeb8f522f09d6b7b36549dc6a73b52dcee28296f03d34f6f29ca51e0020565215ef7b3e
7
+ data.tar.gz: 985205d0d056912ceb5769a1f7232b3d02ec42b493260694f96721bdb7ad2533353e8cedcf78d449b016f598961b727e56eb036af1239d97977089d79b18d62c
@@ -1,5 +1,5 @@
1
1
  module ErrorAgency
2
2
  module Docker
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
@@ -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
 
@@ -27,5 +27,5 @@ ENV PATH /app/bin:$BUNDLE_BIN:$PATH
27
27
 
28
28
  RUN mkdir -p /app
29
29
 
30
- ENTRYPOINT ["/app/config/docker/web/entrypoint.sh"]
30
+ ENTRYPOINT ["/app/config/docker/rails_base/entrypoint.sh"]
31
31
  WORKDIR /app
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: error_agency-docker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ed Jones