Correction montage des volumes pour Docker 1.12 et +

This commit is contained in:
wpetit 2016-09-06 17:15:26 +02:00
parent b4ce2b696b
commit 0ca55f3208

View File

@ -107,7 +107,7 @@ function main {
docker_opt="${docker_opt}"
fi
docker_opt="${docker_opt} -v=\"$PROJECT_PATH:/src:ro\" -v=\"$PROJECT_DEST:/dist:rw\" $container_tag"
docker_opt="${docker_opt} -v $PROJECT_PATH:/src:ro -v $PROJECT_DEST:/dist:rw $container_tag"
info "Switching to container..."
debug "docker ${docker_opt}"