use /bin/sh instead of /bin/bash in order to support dockerfile images that don't include bash. fixes #1364

This commit is contained in:
Michael Hobbs
2015-08-03 11:40:30 -07:00
parent 466df88660
commit 8edea8512d
2 changed files with 2 additions and 2 deletions

View File

@@ -134,7 +134,7 @@ verify_image() {
is_image_buildstep_based() {
# circleci can't support --rm as they run lxc in lxc
[[ ! -f "/home/ubuntu/.circlerc" ]] && local DOCKER_ARGS="--rm"
docker run --entrypoint="/bin/bash" $DOCKER_ARGS "$@" -c "[[ -f /exec ]]"
docker run --entrypoint="/bin/sh" $DOCKER_ARGS "$@" -c "test -f /exec"
}
is_number() {