mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-28 22:45:26 +08:00
update docker-compose.yml
This commit is contained in:
parent
a70ed671a7
commit
45be639598
@ -11,11 +11,6 @@ x-ccache: &ccache
|
||||
CCACHE_MAXSIZE: 2G
|
||||
CCACHE_DIR: /build/ccache
|
||||
|
||||
x-command: &cpp-command >
|
||||
/bin/bash -c "
|
||||
/milvus/ci/scripts/build.sh -t Release -o ${MILVUS_INSTALL_PREFIX} -l -u -c
|
||||
/milvus/ci/scripts/coverage.sh -o ${MILVUS_INSTALL_PREFIX} -u root -p 123456 -t mysql"
|
||||
|
||||
services:
|
||||
db:
|
||||
image: mysql:5.6
|
||||
@ -43,7 +38,10 @@ services:
|
||||
- ${ARCH}-ubuntu-${UBUNTU}-cache:/build:delegated
|
||||
networks:
|
||||
- milvus
|
||||
command: *cpp-command
|
||||
command: &ubuntu-command >
|
||||
/bin/bash -c "
|
||||
/milvus/ci/scripts/build.sh -t Release -o ${MILVUS_INSTALL_PREFIX} -l -u -c
|
||||
/milvus/ci/scripts/coverage.sh -o ${MILVUS_INSTALL_PREFIX} -u root -p 123456 -t mysql"
|
||||
|
||||
centos-core:
|
||||
image: ${REPO}:${ARCH}-centos-${CENTOS}-core
|
||||
@ -60,7 +58,12 @@ services:
|
||||
- ${ARCH}-centos-${CENTOS}-cache:/build:delegated
|
||||
networks:
|
||||
- milvus
|
||||
command: *cpp-command
|
||||
command: ¢os-command >
|
||||
/bin/bash -c "
|
||||
scl enable devtoolset-7 bash
|
||||
scl enable llvm-toolset-7.0 bash
|
||||
/milvus/ci/scripts/build.sh -t Release -o ${MILVUS_INSTALL_PREFIX} -l -u -c
|
||||
/milvus/ci/scripts/coverage.sh -o ${MILVUS_INSTALL_PREFIX} -u root -p 123456 -t mysql"
|
||||
|
||||
networks:
|
||||
milvus:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user