File tree 6 files changed +34
-3
lines changed
6 files changed +34
-3
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,11 @@ All notable changes to this project will be documented in this file.
11
11
### Changed
12
12
13
13
14
+ ## [ 0.3.16] - 2016-07-14
15
+ ### Added
16
+ - @michaelshobbs add named unprivileged user
17
+
18
+
14
19
## [ 0.3.15] - 2016-07-14
15
20
### Fixed
16
21
- @joshmanders only delete $app_path if $import_path is not empty. fixes #111
@@ -237,7 +242,8 @@ All notable changes to this project will be documented in this file.
237
242
- User for ` buildpack-build ` is ` $USER ` or randomized
238
243
- User for ` procfile-exec ` is ` $USER ` or detected from ` /app `
239
244
240
- [ unreleased ] : https://github.com/gliderlabs/herokuish/compare/v0.3.15...HEAD
245
+ [ unreleased ] : https://github.com/gliderlabs/herokuish/compare/v0.3.16...HEAD
246
+ [ 0.3.16 ] : https://github.com/gliderlabs/herokuish/compare/v0.3.15...v0.3.16
241
247
[ 0.3.15 ] : https://github.com/gliderlabs/herokuish/compare/v0.3.14...v0.3.15
242
248
[ 0.3.14 ] : https://github.com/gliderlabs/herokuish/compare/v0.3.13...v0.3.14
243
249
[ 0.3.13 ] : https://github.com/gliderlabs/herokuish/compare/v0.3.12...v0.3.13
Original file line number Diff line number Diff line change 1
1
FROM heroku/cedar:14
2
- RUN curl https://github.com/gliderlabs/herokuish/releases/download/v0.3.15 /herokuish_0.3.15_linux_x86_64 .tgz \
2
+ RUN curl https://github.com/gliderlabs/herokuish/releases/download/v0.3.16 /herokuish_0.3.16_linux_x86_64 .tgz \
3
3
--silent -L | tar -xzC /bin
4
4
RUN /bin/herokuish buildpack install \
5
5
&& ln -s /bin/herokuish /build \
6
6
&& ln -s /bin/herokuish /start \
7
7
&& ln -s /bin/herokuish /exec
8
+ COPY include/default_user.bash /tmp/default_user.bash
9
+ RUN bash /tmp/default_user.bash && rm -f /tmp/default_user.bash
Original file line number Diff line number Diff line change @@ -9,3 +9,5 @@ RUN /bin/herokuish buildpack install \
9
9
&& ln -s /bin/herokuish /build \
10
10
&& ln -s /bin/herokuish /start \
11
11
&& ln -s /bin/herokuish /exec
12
+ COPY include/default_user.bash /tmp/default_user.bash
13
+ RUN bash /tmp/default_user.bash && rm -f /tmp/default_user.bash
Original file line number Diff line number Diff line change 1
1
NAME = herokuish
2
2
HARDWARE = $(shell uname -m)
3
- VERSION ?= 0.3.15
3
+ VERSION ?= 0.3.16
4
4
IMAGE_NAME ?= $(NAME )
5
5
BUILD_TAG ?= dev
6
6
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ addgroup --quiet --gid " 32767" " herokuishgroup" && \
4
+ adduser \
5
+ --shell /bin/bash \
6
+ --disabled-password \
7
+ --force-badname \
8
+ --no-create-home \
9
+ --uid " 32767" \
10
+ --gid " 32767" \
11
+ --gecos ' ' \
12
+ --quiet \
13
+ --home " /app" \
14
+ " herokuishuser"
Original file line number Diff line number Diff line change @@ -25,3 +25,10 @@ T_slug-generate() {
25
25
herokuish slug generate
26
26
tar tzf /tmp/slug.tgz"
27
27
}
28
+
29
+ T_default-user () {
30
+ _test-user () {
31
+ id herokuishuser
32
+ }
33
+ herokuish-test " test-user" " $( fn-source _test-user) "
34
+ }
You can’t perform that action at this time.
0 commit comments