luban 0.12.4 → 0.12.5
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 16a4ac4cbbad990e445dcec48247c1cd6a002b4b
|
4
|
+
data.tar.gz: 14357da1524674899935c16fb25af9ed251ea791
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dde6271800c608b4f94b12a885ed99cd19cf3b19e9f0a685e9fc9a50419d92d95d2842fb2f2be13cb90f144ebd8dabe77c7e2bb4f6de410944288099e0845736
|
7
|
+
data.tar.gz: 718e2c0e435ed82de8e626d6c3aa28702db137fbab46d31dd24c60a0ce7d5c242dea44e20c1a7f36435b2985e239af680eb50d6dd06c9e45fdf226342c099ae1
|
data/CHANGELOG.md
CHANGED
@@ -3,15 +3,17 @@ MAINTAINER <%= author['name'] %> <%= author['email'].inspect %>
|
|
3
3
|
|
4
4
|
ARG luban_uid
|
5
5
|
ARG luban_user
|
6
|
-
|
7
|
-
# Add application archives
|
8
|
-
ADD <%= build[:archives].collect { |_, a| a[:path].basename }.join(" \\\n ") %> /
|
6
|
+
ARG luban_root_path
|
9
7
|
|
10
8
|
# Create luban user with the given uid
|
11
9
|
RUN adduser -ms /bin/bash -u $luban_uid $luban_user && \
|
12
10
|
echo "source <%= envrc_file %>" >> /home/$luban_user/.bashrc && \
|
11
|
+
mkdir -p $luban_root_path && \
|
13
12
|
chown -R $luban_user:$luban_user $luban_root_path
|
14
13
|
|
14
|
+
# Add application archives
|
15
|
+
ADD <%= build[:archives].collect { |_, a| a[:path].basename }.join(" \\\n ") %> /
|
16
|
+
|
15
17
|
# Populate image labels
|
16
18
|
LABEL luban.project="<%= project %>" \
|
17
19
|
luban.application="<%= project %>" \
|