Skip to content

Commit 2292329

Browse files
bug fix: use /bin/sh as entrypoint to provide predictability
1 parent 9b6c051 commit 2292329

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# 1.2.1 (2020-05-27)
2+
3+
* Bug fix: Avoid abrupt container termination due to use of default
4+
entrypoint by using `/bin/sh` as an entrypoint.
5+
6+
17
# 1.2.0 (2020-05-27)
28

39
* Moved methods in `substitution` module into `ArgumentResolver` class.

src/roswire/proxy/container.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ def _container(self,
145145
'/bin/sh',
146146
user='root',
147147
name=uuid,
148+
entrypoint='/bin/sh -c',
148149
volumes={dir_host_shared: {'bind': '/.roswire', 'mode': 'rw'}},
149150
ports=ports,
150151
stdin_open=True,

0 commit comments

Comments
 (0)