Skip to content

Commit

Permalink
Merge branch 'hotfix-0.1.4' into stable
Browse files Browse the repository at this point in the history
  • Loading branch information
BertrandGouny committed Nov 19, 2015
2 parents 858463c + 2d40e9e commit b20e183
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.1.4
- Add run cmd arguments when it's a single process image
- Remove bash from command when it's a single process image

## 0.1.3
- add hostname env variable to /etc/hosts
to make the image more friendly with kubernetes again :)
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NAME = osixia/light-baseimage
VERSION = 0.1.3
VERSION = 0.1.4

.PHONY: all build test tag_latest release build-tool

Expand Down
2 changes: 1 addition & 1 deletion image/tool/run
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ elif [ "$nbDirectories" -eq 1 ]; then
SERVICE=$(find /etc/service -mindepth 1 -maxdepth 1 -type d)

echo "Execute /container/tool/my_init --skip-runit bash $SERVICE/run"
exec /container/tool/my_init --skip-runit bash $SERVICE/run
exec /container/tool/my_init --skip-runit $SERVICE/run $@

# No process set
else
Expand Down

0 comments on commit b20e183

Please sign in to comment.