smartcloud 0.0.200 → 0.0.201

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: 1fa4706b0093de5e5a0a9decf2e74ff6d9e3b7c13725e7d7f49cf32959d1316b
4
- data.tar.gz: f9ddeaf299190959e3bc4363e978c4b5bc4b65f91fb57e946cf747c9ac7c7240
3
+ metadata.gz: c9c55d3b0a4f51c664595565a137321cfdc47b592fa9d4f219eb90b1d5a9db97
4
+ data.tar.gz: 26897da6389d399a5d72959d58bedee83c93eeb99c41ae02eb56df40202550a1
5
5
  SHA512:
6
- metadata.gz: b9f05b881d006c33bffa80004f0e06daa0148c4e8549e6cd1bb45e80af59818a23e784b999f506a89e6581f8ccbaf7fb2778a24eeacd190147030db1bbdab6d8
7
- data.tar.gz: 3263955db5a8b4f72e6675050e1b46ed85a8cffadfe10d73aa1611f9bc13da40e437dd8859ed495d32bd21b7d602bea5a5a05fe992b3925037cc70036f7e0f89
6
+ metadata.gz: d63a14ff7f5b307532024310f2ff86288c6c8ee669d083e3190e5cc2dba8af2bf2049129cb3249ae8e4092cad5c438846bb0590d6054d0dff09a09c58cd8c34a
7
+ data.tar.gz: 571c377e0e90596414686b8e032007de460a376d1daf043ca28ae696c534ddd96f4bb93fe33d039292999e57a470a2ec10ab8ee1ec73801d2b8e859e24bff72a
data/bin/smartcloud CHANGED
@@ -69,5 +69,6 @@ elsif ARGV[0] == 'grids'
69
69
  # elsif ARGV[1] == 'destroy'
70
70
  # Smartcloud::User.destroy(ARGV[2], ARGV[3])
71
71
  # end
72
+ else
73
+ puts "Specify a command to execute."
72
74
  end
73
- puts "Specify a command to execute."
@@ -8,12 +8,11 @@ RUN apk add --update docker && \
8
8
  # - envs
9
9
  ARG USER_NAME
10
10
  ARG USER_UID
11
- ARG USER_GID
12
11
  ARG DOCKER_GID
13
12
  # - fix to change gid of 999 to 99 so that addgroup is free to create a group with 999 as gid
14
13
  # - Create group & user. Then add user to group
15
14
  RUN sed -i "s/999/99/" /etc/group && \
16
- adduser --disabled-password --gecos "" --uid $USER_UID --gid $USER_GID $USER_NAME && \
15
+ adduser --disabled-password --gecos "" --uid $USER_UID $USER_NAME && \
17
16
  addgroup --gid $DOCKER_GID "docker" && adduser $USER_NAME docker
18
17
 
19
18
  USER "$USER_NAME"
@@ -24,12 +24,11 @@ RUN apk add --update coreutils && \
24
24
  # - envs
25
25
  ARG USER_NAME
26
26
  ARG USER_UID
27
- ARG USER_GID
28
27
  ARG DOCKER_GID
29
28
  # - fix to change gid of 999 to 99 so that addgroup is free to create a group with 999 as gid
30
29
  # - Create group & user. Then add user to group
31
30
  RUN sed -i "s/999/99/" /etc/group && \
32
- adduser --disabled-password --gecos "" --uid $USER_UID --gid $USER_GID $USER_NAME && \
31
+ adduser --disabled-password --gecos "" --uid $USER_UID $USER_NAME && \
33
32
  addgroup --gid $DOCKER_GID "docker" && adduser $USER_NAME docker
34
33
 
35
34
  USER "$USER_NAME"
@@ -113,7 +113,6 @@ module Smartcloud
113
113
  if system("docker image build -t smartcloud/runner \
114
114
  --build-arg USER_NAME=`id -un` \
115
115
  --build-arg USER_UID=`id -u` \
116
- --build-arg USER_GID=`id -g` \
117
116
  --build-arg DOCKER_GID=`getent group docker | cut -d: -f3` \
118
117
  #{Smartcloud.config.root_path}/lib/smartcloud/grids/grid-runner")
119
118
  puts "done"
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.200
4
+ version: 0.0.201
5
5
  platform: ruby
6
6
  authors:
7
7
  - Timeboard