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 +4 -4
- data/lib/smartcloud/grids/grid-runner/Dockerfile +9 -2
- 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: 67a0997de5582dc920549369e5386bd69c6832495aead3be8d4e2874724219cd
|
4
|
+
data.tar.gz: 1682cde97dabba1222a5427ead96b17fccaa1ce2a69e731043bf60236f0579b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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"
|