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: 804de7c5538bce26975d679cdd982450d838e7d8
4
- data.tar.gz: 3df39da4fb9f9a17c563447d45193d4c7219628e
3
+ metadata.gz: 16a4ac4cbbad990e445dcec48247c1cd6a002b4b
4
+ data.tar.gz: 14357da1524674899935c16fb25af9ed251ea791
5
5
  SHA512:
6
- metadata.gz: e1e218f0c621d35a7bed93af3016f8eb55236e98747a1d95832f3a6bd3c1b9f62548a39fe17371108a749ba04810732e31942b17822ab25558f31e102526ce9e
7
- data.tar.gz: bf1a3a6c3da8b83cd86dcebced0337694b1db533beae27ed08705a7cf613c94bd86a6c65fbe37ba11eb38745b800fa9d314658c79ca468257b9c97f2e166964c
6
+ metadata.gz: dde6271800c608b4f94b12a885ed99cd19cf3b19e9f0a685e9fc9a50419d92d95d2842fb2f2be13cb90f144ebd8dabe77c7e2bb4f6de410944288099e0845736
7
+ data.tar.gz: 718e2c0e435ed82de8e626d6c3aa28702db137fbab46d31dd24c60a0ce7d5c242dea44e20c1a7f36435b2985e239af680eb50d6dd06c9e45fdf226342c099ae1
data/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change log
2
2
 
3
- ## Version 0.12.4 (Feb 16, 2017)
3
+ ## Version 0.12.5 (Feb 16, 2017)
4
4
 
5
5
  Minor enhancements:
6
6
  * Added labels in docker image to show info about installed packages
@@ -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 %>" \
@@ -1,5 +1,5 @@
1
1
  module Luban
2
2
  module Deployment
3
- VERSION = "0.12.4"
3
+ VERSION = "0.12.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: luban
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.4
4
+ version: 0.12.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rubyist Lei