diff --git a/gulpfile.js b/gulpfile.js index 35227aaab1..56e01514aa 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(); }