Fix build on AWS codebuild
This commit is contained in:
parent
97f189b7b3
commit
55ce4b7c19
|
@ -6,7 +6,7 @@ BUILD_OPTS="$*"
|
||||||
DOCKER="docker"
|
DOCKER="docker"
|
||||||
|
|
||||||
if ! ${DOCKER} ps >/dev/null 2>&1; then
|
if ! ${DOCKER} ps >/dev/null 2>&1; then
|
||||||
DOCKER="sudo docker"
|
DOCKER="docker"
|
||||||
fi
|
fi
|
||||||
if ! ${DOCKER} ps >/dev/null; then
|
if ! ${DOCKER} ps >/dev/null; then
|
||||||
echo "error connecting to docker:"
|
echo "error connecting to docker:"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user