smartcloud 0.0.125 → 0.0.126
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 +13 -1
- data/lib/smartcloud/grids/runner.rb +0 -1
- 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: 435ad2b8a74902e8628804668d71a3e2ce277e092b4f68eeef21b1925a37f854
|
4
|
+
data.tar.gz: 992d4a5e985b4a11c21082a74d5b9fe7fc5e7796f91bd18d3e42babceda5d7d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 312706aca6a1946f23bc573ee826f06b1397bb9423ebf41a031ae86fe6ca92fcdcc57df3aad687822e48e4ffbbe2b3d365ccc4171f3939140492550cb0077dac
|
7
|
+
data.tar.gz: 8f61eecc42ec90e102ab57a5fbb5021351888152b0ade17ccd6b236025c3f7c99b5b3dbc4ad9c774a0e1af2d4d1708e3d5d86e819d7fc1356d82a212d20e7a79
|
@@ -36,4 +36,16 @@ RUN gem install smartcloud --no-rdoc --no-ri
|
|
36
36
|
|
37
37
|
COPY spawner.rb "/spawner.rb"
|
38
38
|
|
39
|
-
|
39
|
+
# Generating entrypoint file
|
40
|
+
RUN echo -e "#!/bin/sh\n\
|
41
|
+
\n\
|
42
|
+
ruby /spawner.rb
|
43
|
+
\n\
|
44
|
+
su - $USER_NAME
|
45
|
+
\n\
|
46
|
+
exec \"$@\"" >> /entrypoint; chmod +x /entrypoint;
|
47
|
+
|
48
|
+
# Set entrypoint
|
49
|
+
ENTRYPOINT ["/entrypoint"]
|
50
|
+
|
51
|
+
CMD "git, fcgiwrap"
|
@@ -30,7 +30,6 @@ module Smartcloud
|
|
30
30
|
--volume='#{Smartcloud.config.user_home_path}/.smartcloud/config:#{Smartcloud.config.user_home_path}/.smartcloud/config' \
|
31
31
|
--volume='#{Smartcloud.config.user_home_path}/.smartcloud/grids/grid-runner:#{Smartcloud.config.user_home_path}/.smartcloud/grids/grid-runner' \
|
32
32
|
--volume='/var/run/docker.sock:/var/run/docker.sock' \
|
33
|
-
--user=#{File.basename(Smartcloud.config.user_home_path)} \
|
34
33
|
--workdir='#{Smartcloud.config.user_home_path}/.smartcloud/grids/grid-runner/apps' \
|
35
34
|
--restart='always' \
|
36
35
|
--network='nginx-network' \
|