From 6ce47fca95c4de0987b4eaa5fff630f2bb56a48d Mon Sep 17 00:00:00 2001 From: Joe Perez Date: Mon, 22 Jul 2024 13:22:08 -0700 Subject: [PATCH] Docs: Add note on 'build targets' on Get Started --- docusaurus/docs/get-started/get-started.mdx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docusaurus/docs/get-started/get-started.mdx b/docusaurus/docs/get-started/get-started.mdx index d85e6165f..e17784810 100644 --- a/docusaurus/docs/get-started/get-started.mdx +++ b/docusaurus/docs/get-started/get-started.mdx @@ -232,7 +232,7 @@ To build for production, run: ### Build the backend -If your plugin includes a [backend](../key-concepts/backend-plugins/index.md) component, you can build using mage: +If your plugin includes a [backend](../key-concepts/backend-plugins/index.md) component, you can build using Mage: ```shell mage -v build:linux @@ -243,6 +243,7 @@ mage -v build:linux | Option | Description | Example | | -------------- | -------------------------------------------- | --------------------- | | `build:[arch]` | Builds a binary for a specific architecture. | `mage -v build:Linux` | +| `build:backend` | Builds a production build for the current platform. | `mage -v build:backend` | List all available Mage targets for additional commands: @@ -250,6 +251,12 @@ List all available Mage targets for additional commands: mage -l ``` +:::note + +There is a mismatch between AMD, ARM64, and the Docker container which may cause the backend Delve debugger dev env to fail to run on Apple silicon. + +::: + ### Run the Grafana server To launch the Grafana development server using Docker, run: