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 +4 -4
- data/lib/smartcloud/grids/grid-runner/Dockerfile +11 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 82003507a0f29bca95f2fa813c6dacec426a376e39ffa272ec60258e7824c7ff
|
4
|
+
data.tar.gz: 397e361cfb7d4612eac57cbdbfd6d4c175e210ff9942112caf393e5ac52f9d2d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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"]
|