smartcloud 0.0.131 → 0.0.132

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: 86501721938c2a85156523a21489b883327b74666e0533c81b6abe0ab3f6efcf
4
- data.tar.gz: 3f0eecdcc047ccf7a410a581870f21364fb92e394104281e0d97e18e50d5fd00
3
+ metadata.gz: 82003507a0f29bca95f2fa813c6dacec426a376e39ffa272ec60258e7824c7ff
4
+ data.tar.gz: 397e361cfb7d4612eac57cbdbfd6d4c175e210ff9942112caf393e5ac52f9d2d
5
5
  SHA512:
6
- metadata.gz: e000edd3f2b23cab5f8aae94dbbed155b27e3291b420c2579c29d2e595650a26f7f3f8bb47f68c54a21e8c949b5188628357fe96b6badfda207f102ab8e4d559
7
- data.tar.gz: 4d23c2635305884bdf8736f1c18721818ca9ec94dbf12d084c480d7c070f56dbd21624ef1717fe9db4bd4cff1bde54bcd88456d92d9275df6cbe97e040e4ebe1
6
+ metadata.gz: e57191181e73c19c46835ad578f1b7b3b2843194f6300fea5299bf299265e4c2d44debad9000c1e0db5ac28ecbdbce53c35a12d6a88c88e8e2316fbd39c86175
7
+ data.tar.gz: b9eb3d059ba8153f4a4daf73b6a9e0fbe95cd7fa3c9ba1dbfedb3afc82d7bdef47a8fc56850ad51d76228822b7c2de6b97aaf04ac66b972d3e1f8afa6c554c86
@@ -37,12 +37,23 @@ RUN gem install smartcloud --no-rdoc --no-ri
37
37
  COPY spawner.rb "/spawner.rb"
38
38
 
39
39
  # Generating entrypoint file
40
+ RUN echo -e '#!/bin/sh\n\
41
+ \n\
42
+ cd /code\n\
43
+ test -f ./tmp/pids/server.pid && rf ./tmp/pids/server.pid; true\n\
44
+ \n\
45
+ \n\
46
+ exec "$@"' >> /entrypoint; chmod +x /entrypoint;
47
+
40
48
  RUN echo -e '#!/bin/sh\n\
41
49
  \n\
42
50
  ruby /spawner.rb
43
51
  \n\
52
+ su - $USER_NAME
44
53
  \n\
45
54
  exec "$@"' >> /entrypoint; chmod +x /entrypoint;
46
55
 
47
56
  # Set entrypoint
48
57
  ENTRYPOINT ["/entrypoint"]
58
+
59
+ CMD ["spawn-fcgi", "-v"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smartcloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.131
4
+ version: 0.0.132
5
5
  platform: ruby
6
6
  authors:
7
7
  - Timeboard