smartcloud 0.0.41 → 0.0.46

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eea4ce2f5fe7ea4359722269149793a75632dc2aa50f73ab3ad280139a31f33e
4
- data.tar.gz: 495a11ceb556ac2a17cfff6ff561808077481bc30df9fc128b343c33caa5b840
3
+ metadata.gz: 0a1ccd07b6d054b992cb27529c89599aa585822fc2bfdc5f5087ff5c87d3a6b0
4
+ data.tar.gz: 7a71319b8c202d7d15ad46b3b3be03e034d7aa80e49d5f7c21b082b8abb6bede
5
5
  SHA512:
6
- metadata.gz: 8313e8bac2b84dd93698de7c3289b8a9f5748af2d72a0e49485c2ae434e6e8e20f717030fc55070405483ba5306cc87639aaa28701384eb1c514f27d79c4a900
7
- data.tar.gz: b7d4c06eb38193fbe22ddfc91ca3d307308b9d89d684289e8de8aef32481ef3e99b696d1892c376a51a8c58f7badbe5df85e04244dfed4fe8f7fa8ca5b9d874e
6
+ metadata.gz: 27ab45ab9b9e6ccf2b81810ad3333e58600b06a1de5daa9a26aa58e837ca65ad5dbe08aea7d44e50d31e344ae149ef5b0deda7a8053f0e14dd583f0c50e2bded
7
+ data.tar.gz: ff0ef27f9ba830c36776c51c039a3c7c1f5f72a407667f10a850cf09fdf62cbe2b041415ed6be450dc0ff7b003ac1d6d7e278c54b4ca3874ba5f15e2cbdb0a45
@@ -2,12 +2,16 @@ FROM docker:latest
2
2
  MAINTAINER Timeboard <hello@timeboard.me>
3
3
 
4
4
  # Setting up group and user
5
+ # - envs
5
6
  ARG DOCKER_GID
6
7
  ARG USER_UID
7
8
  ARG USER_NAME
8
- RUN addgroup --gid "$DOCKER_GID" "docker"
9
- RUN adduser --disabled-password --gecos "" --uid "$USER_UID" "$USER_NAME"
10
- RUN adduser "$USER_NAME" "docker"
9
+ # - fix to change gid of 999 to 99 so that addgroup is free to create a group with 999 as gid
10
+ # - Create group & user. Then add user to group
11
+ RUN sed -i "s/999/99/" /etc/group && \
12
+ addgroup --gid "$DOCKER_GID" "docker" && \
13
+ adduser --disabled-password --gecos "" --uid "$USER_UID" "$USER_NAME" && \
14
+ adduser "$USER_NAME" "docker"
11
15
 
12
16
  # We need the following:
13
17
  # - git, because that gets us the git-http-backend CGI script
@@ -23,7 +23,6 @@ module Smartcloud
23
23
  --env LETSENCRYPT_HOST=#{Smartcloud.config.git_domain} \
24
24
  --env LETSENCRYPT_EMAIL=#{Smartcloud.config.sysadmin_email} \
25
25
  --env LETSENCRYPT_TEST=#{Smartcloud.config.letsencrypt_test} \
26
- --env USER_HOME_PATH=#{Smartcloud.config.user_home_path} \
27
26
  --expose='9000' \
28
27
  --volume='#{Smartcloud.config.user_home_path}/.smartcloud/config:#{Smartcloud.config.user_home_path}/.smartcloud/config' \
29
28
  --volume='#{Smartcloud.config.user_home_path}/.smartcloud/grids/grid-runner:#{Smartcloud.config.user_home_path}/.smartcloud/grids/grid-runner' \
@@ -110,7 +109,7 @@ module Smartcloud
110
109
  --build-arg DOCKER_GID=`getent group docker | cut -d: -f3` \
111
110
  --build-arg USER_UID=`id -u` \
112
111
  --build-arg USER_NAME=`id -un` \
113
- #{Smartcloud.config.root_path}/lib/smartcloud/grids/grid-runner")
112
+ #{Smartcloud.config.root_path}/lib/smartcloud/grids/grid-runner", out: File::NULL)
114
113
  puts "done"
115
114
  end
116
115
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smartcloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.41
4
+ version: 0.0.46
5
5
  platform: ruby
6
6
  authors:
7
7
  - Timeboard
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-30 00:00:00.000000000 Z
11
+ date: 2019-08-31 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Smartcloud is a full-stack deployment framework for rails optimized for
14
14
  programmer happiness and peaceful administration. It encourages natural simplicity