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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0d9e21f11efd822c03a3b2acfa03a9c30390f4f6002c9bb308d51fe9ff4b0f2e
4
- data.tar.gz: 8656d56aacd6a57da62fd9877a597e4d8934638c13b3895fb535972d353fbd15
3
+ metadata.gz: 435ad2b8a74902e8628804668d71a3e2ce277e092b4f68eeef21b1925a37f854
4
+ data.tar.gz: 992d4a5e985b4a11c21082a74d5b9fe7fc5e7796f91bd18d3e42babceda5d7d0
5
5
  SHA512:
6
- metadata.gz: 6ed9f436f8ef0f544c7b64bc17f9a26b3653975e568e3eb546b35c50eea75993eda6374975f1c33e9e4982eb8c54d406aa6fe0cf05be254c3106b7bb1bad825d
7
- data.tar.gz: 77d03005d5f5dab660a2cc0fb1ab3485db189fb9011aadd3093561301dfb765498e99a3d2c8020f120bc2bf54ac9f9354651c7eaa139f6dbcab8ae09d8aeaf6d
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
- CMD ["ruby", "/spawner.rb"]
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' \
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.125
4
+ version: 0.0.126
5
5
  platform: ruby
6
6
  authors:
7
7
  - Timeboard