smartcloud 0.0.129 → 0.0.130

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: 395b63f049cccdcb939e8b0f90c0d8db0b6e36e8273aa7383e1437dd2590243d
4
- data.tar.gz: f72d72304b0a691c77f9179e7c5dd2d8e46f72d3197704216a69cf00107d6b98
3
+ metadata.gz: 67a0997de5582dc920549369e5386bd69c6832495aead3be8d4e2874724219cd
4
+ data.tar.gz: 1682cde97dabba1222a5427ead96b17fccaa1ce2a69e731043bf60236f0579b0
5
5
  SHA512:
6
- metadata.gz: 2cb6686b1cdcebd5f1c819fc7513a5bda2d49efc9c17425b20b810184fedfcaf9adad422e20fbf4b83f1ad7a7955c476c7da815a534507850c9e88e971d5b989
7
- data.tar.gz: 567fcb0f9af12cbbddf97a2dec695de6f0c2fdcf01cc75de7a4d6e1300e6e1580cd294fdac900490662bccc833dc1a53c14f6e430e1d3b5790690ff5bd263d76
6
+ metadata.gz: 87b7804961b5fa72b35c5bd4864f4c1ba42a6bb22396ffb49cda7a4ac4533e10ab8c202228274e545d669b6f53e7aaa858fe343026386b81c23d2e0a3be5a59b
7
+ data.tar.gz: b3cbc79d83a0977e60b25fec6ee4b20b2169331b252a29ec7c2bcf0982d698f3f047066db0e6243e7e4fb25d63ff2b18ec2b8efae0645728eaa8fb8206c4e06d
@@ -37,14 +37,21 @@ 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"]
49
-
50
- CMD "git, fcgiwrap"
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.129
4
+ version: 0.0.130
5
5
  platform: ruby
6
6
  authors:
7
7
  - Timeboard