Run container on jenkins network
gitea/salix/pipeline/head Something is wrong with the build of this commit
Details
gitea/salix/pipeline/head Something is wrong with the build of this commit
Details
This commit is contained in:
parent
f256af3d02
commit
98a2f79691
|
@ -43,7 +43,12 @@ module.exports = class Docker {
|
||||||
let runChown = process.platform != 'linux';
|
let runChown = process.platform != 'linux';
|
||||||
|
|
||||||
log('Starting container...');
|
log('Starting container...');
|
||||||
const container = await this.execP(`docker run --env RUN_CHOWN=${runChown} -d ${dockerArgs} salix-db`);
|
const container = await this.execP(`
|
||||||
|
docker run
|
||||||
|
--network jenkins_default
|
||||||
|
--env RUN_CHOWN=${runChown}
|
||||||
|
-d ${dockerArgs} salix-db
|
||||||
|
`);
|
||||||
this.id = container.stdout.trim();
|
this.id = container.stdout.trim();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue