diff --git a/package-lock.json b/package-lock.json index 8251f20d..9d4d1e95 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,7 +18,7 @@ "@junobuild/admin": "^0.5.1", "@junobuild/cdn": "^0.1.2", "@junobuild/cli-tools": "^0.2.3", - "@junobuild/config": "^0.2.2", + "@junobuild/config": "^0.2.3", "@junobuild/config-loader": "^0.2.1", "@junobuild/core": "^0.1.16", "@junobuild/did-tools": "^0.2.1", @@ -1547,9 +1547,9 @@ } }, "node_modules/@junobuild/config": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/@junobuild/config/-/config-0.2.2.tgz", - "integrity": "sha512-+8mKjq1wRVFkRrrOn2YlFJD/sb6L6coMMRLCj15zvT3zrZT7vpKUSU9c2WSw66crRJmwKoDdN/nbs66t/vDHiQ==", + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/@junobuild/config/-/config-0.2.3.tgz", + "integrity": "sha512-f5CzfKY/OUY6kYaWbnO08+/lk7nEQmHu64Y/nHoWl6pju7yH9eOfkaLAeioVdNLchtaLpCXy7tR3WUDKUGLfvQ==", "license": "MIT", "peerDependencies": { "@dfinity/zod-schemas": "^1.0.0", @@ -8062,9 +8062,9 @@ } }, "@junobuild/config": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/@junobuild/config/-/config-0.2.2.tgz", - "integrity": "sha512-+8mKjq1wRVFkRrrOn2YlFJD/sb6L6coMMRLCj15zvT3zrZT7vpKUSU9c2WSw66crRJmwKoDdN/nbs66t/vDHiQ==", + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/@junobuild/config/-/config-0.2.3.tgz", + "integrity": "sha512-f5CzfKY/OUY6kYaWbnO08+/lk7nEQmHu64Y/nHoWl6pju7yH9eOfkaLAeioVdNLchtaLpCXy7tR3WUDKUGLfvQ==", "requires": {} }, "@junobuild/config-loader": { diff --git a/package.json b/package.json index beba0f69..be7044cb 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "@junobuild/admin": "^0.5.1", "@junobuild/cdn": "^0.1.2", "@junobuild/cli-tools": "^0.2.3", - "@junobuild/config": "^0.2.2", + "@junobuild/config": "^0.2.3", "@junobuild/config-loader": "^0.2.1", "@junobuild/core": "^0.1.16", "@junobuild/did-tools": "^0.2.1", diff --git a/src/services/dev/start/docker.services.ts b/src/services/dev/start/docker.services.ts index e6ef6b19..4e89368f 100644 --- a/src/services/dev/start/docker.services.ts +++ b/src/services/dev/start/docker.services.ts @@ -221,6 +221,8 @@ const startEmulator = async () => { const image = config.runner?.image ?? `junobuild/${emulatorType}:latest`; + const platform = config.runner?.platform; + await execute({ command: 'docker', args: [ @@ -245,6 +247,7 @@ const startEmulator = async () => { : []), '-v', `${targetDeploy}:/juno/target/deploy`, + ...(nonNullish(platform) ? [`--platform=${platform}`] : []), image ] });