mirror of
git://develop.git.wordpress.org/
synced 2025-02-06 23:50:43 +01:00
The `amd64/mysql` and `amd64/mariadb` official images from Docker are also compatible with an x64 host machine which means they can be used by default instead of only when the host uses ARM64. Props bernhard-reiter, czapla, gmovr, withinboredom Fixes #56528 git-svn-id: https://develop.svn.wordpress.org/trunk@54096 602fd350-edb4-49c9-b593-d223f7449a82
9 lines
334 B
JavaScript
9 lines
334 B
JavaScript
const dotenv = require( 'dotenv' );
|
|
const dotenvExpand = require( 'dotenv-expand' );
|
|
const { execSync } = require( 'child_process' );
|
|
|
|
dotenvExpand.expand( dotenv.config() );
|
|
|
|
// Execute any docker-compose command passed to this script.
|
|
execSync( 'docker-compose ' + process.argv.slice( 2 ).join( ' ' ), { stdio: 'inherit' } );
|