smartcloud 0.0.200 → 0.0.201
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/smartcloud +2 -1
- data/lib/smartcloud/engine/Dockerfile +1 -2
- data/lib/smartcloud/grids/grid-runner/Dockerfile +1 -2
- 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: c9c55d3b0a4f51c664595565a137321cfdc47b592fa9d4f219eb90b1d5a9db97
|
4
|
+
data.tar.gz: 26897da6389d399a5d72959d58bedee83c93eeb99c41ae02eb56df40202550a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d63a14ff7f5b307532024310f2ff86288c6c8ee669d083e3190e5cc2dba8af2bf2049129cb3249ae8e4092cad5c438846bb0590d6054d0dff09a09c58cd8c34a
|
7
|
+
data.tar.gz: 571c377e0e90596414686b8e032007de460a376d1daf043ca28ae696c534ddd96f4bb93fe33d039292999e57a470a2ec10ab8ee1ec73801d2b8e859e24bff72a
|
data/bin/smartcloud
CHANGED
@@ -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
|
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
|
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"
|