smartcloud 0.0.205 → 0.0.206
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c62081c62d76faea905c0502e283247123f433d020ae50d47f50dfb1416c293
|
4
|
+
data.tar.gz: 91bc5b352f3f2c87c23aa7e6d65fdde68acb7994f7fad982374456556bf09689
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ec10636c50c3aa415047521e5e1e4712a21c4497f565d65f55cc3a9a34cb14990cf29067c0994dd3d51e67b32a01b48f4c60c96eaa2fa2f6c34536817c24282
|
7
|
+
data.tar.gz: a140bbac432112aaf0e33020612238ff2f11a24242ecf22a17bb28930934af23eea383d15b5c88e9cce1d08d1fa3de5c4cf6d5a5dded857e7f1c66b63bcfe183
|
@@ -1,6 +1,15 @@
|
|
1
1
|
FROM ruby:2.6.4-alpine3.10
|
2
2
|
MAINTAINER Timeboard <hello@timeboard.me>
|
3
3
|
|
4
|
+
# User
|
5
|
+
# --- Fix to change gid of 999 to 99 so that addgroup is free to create a group with 999 as gid
|
6
|
+
ARG USER_NAME
|
7
|
+
ARG USER_UID
|
8
|
+
ARG DOCKER_GID
|
9
|
+
RUN sed -i "s/999/99/" /etc/group && \
|
10
|
+
adduser --disabled-password --gecos "" --uid "$USER_UID" "$USER_NAME" && \
|
11
|
+
addgroup --gid "$DOCKER_GID" "docker" && adduser "$USER_NAME" "docker"
|
12
|
+
|
4
13
|
# FCGI Essentials
|
5
14
|
# --- IMPORTANT NOTE: This is custom built fcgiwrap package for alpine linux to account for NO_BUFFERING option.
|
6
15
|
# --- Original fcgiwrap: https://github.com/gnosek/fcgiwrap
|
@@ -16,13 +25,7 @@ RUN apk add --update coreutils && \
|
|
16
25
|
apk add --update spawn-fcgi && \
|
17
26
|
rm -rf /var/cache/apk/*
|
18
27
|
|
19
|
-
#
|
20
|
-
# --- Fix to change gid of 999 to 99 so that addgroup is free to create a group with 999 as gid
|
21
|
-
ARG USER_NAME
|
22
|
-
ARG USER_UID
|
23
|
-
ARG DOCKER_GID
|
24
|
-
RUN sed -i "s/999/99/" /etc/group && \
|
25
|
-
adduser --disabled-password --gecos "" --uid "$USER_UID" "$USER_NAME"
|
28
|
+
# Privileges
|
26
29
|
USER "$USER_NAME"
|
27
30
|
WORKDIR "/home/$USER_NAME/.smartcloud/grids/grid-runner/apps"
|
28
31
|
|
@@ -1,6 +1,11 @@
|
|
1
1
|
FROM ruby:2.6.4-alpine3.10
|
2
2
|
LABEL maintainer="Timeboard <hello@timeboard.me>"
|
3
3
|
|
4
|
+
# User
|
5
|
+
ARG USER_UID
|
6
|
+
ARG USER_NAME
|
7
|
+
RUN adduser --disabled-password --gecos "" --uid "$USER_UID" "$USER_NAME"
|
8
|
+
|
4
9
|
# Ruby on Rails Essentials
|
5
10
|
RUN apk add --update build-base && \
|
6
11
|
apk add --update tzdata && \
|
@@ -13,10 +18,7 @@ RUN apk add --update build-base && \
|
|
13
18
|
apk add --update mupdf-tools && \
|
14
19
|
rm -rf /var/cache/apk/*
|
15
20
|
|
16
|
-
#
|
17
|
-
ARG USER_UID
|
18
|
-
ARG USER_NAME
|
19
|
-
RUN adduser --disabled-password --gecos "" --uid "$USER_UID" "$USER_NAME"
|
21
|
+
# Privileges
|
20
22
|
USER "$USER_NAME"
|
21
23
|
WORKDIR "/app"
|
22
24
|
|