Fix build on AWS codebuild

This commit is contained in:
Artem Synytsyn 2020-01-05 20:11:59 +02:00
parent 97f189b7b3
commit 55ce4b7c19

View File

@ -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:"