From 3b1aa7208c4345442dcacd9d7bde1f5256e1661e Mon Sep 17 00:00:00 2001 From: "LaptopVerdnatura\\Javi" Date: Wed, 9 Jan 2019 13:04:49 +0100 Subject: [PATCH] gulp file no linux --- gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 35227aaab..56e01514a 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -282,7 +282,7 @@ async function docker() { let stamp = `${d.getFullYear()}-${pad(d.getMonth() + 1)}-${pad(d.getDate())}`; await execP(`docker build --build-arg STAMP=${stamp} -t salix-db ./services/db`); - let runChown = process.platform == 'darwin'; + let runChown = process.platform != 'linux'; await execP(`docker run --env RUN_CHOWN=${runChown} -d --name salix-db -p 3306:3306 salix-db`); if (runChown) await dockerWait(); }