commit | 95ec11828cc795a1b4dc61715c00e786bcbb5ec0 | [log] [tgz] |
---|---|---|
author | Stewart Smith <stewart@linux.ibm.com> | Tue Oct 30 08:27:47 2018 +1100 |
committer | GitHub <noreply@github.com> | Tue Oct 30 08:27:47 2018 +1100 |
tree | 80f92fedcff1e7b69f979d78b4ac8afe95d6088b | |
parent | 0487ed8db115b21ec36315ea7f32fe678ce962c8 [diff] | |
parent | 9c20ae2dd501210f10aaa036b48527bc890fcf95 [diff] |
Merge pull request #2421 from stewart-ibm/docker-init ci/docker: Run containers with --init
diff --git a/ci/build.sh b/ci/build.sh index 012aaef..f663ef4 100755 --- a/ci/build.sh +++ b/ci/build.sh
@@ -70,7 +70,7 @@ else BINDARG="--mount=type=bind,src=${PWD},dst=${PWD}" fi - $DOCKER_PREFIX docker run --cap-add=sys_admin --net=host --rm=true \ + $DOCKER_PREFIX docker run --init --cap-add=sys_admin --net=host --rm=true \ --user="${USER}" -w "${PWD}" "${BINDARG}" \ -t $1 $2 }