Skip to content

Commit

Permalink
Merge pull request #5748 from anuruddhal/master
Browse files Browse the repository at this point in the history
Fix formatting in code to cloud guide
  • Loading branch information
anuruddhal authored Oct 16, 2024
2 parents 6c5444a + 9921e73 commit 83d9674
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions examples/docker-hello-world/docker_hello_world.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@ For all the supported key value properties, see [Code to Cloud specification](ht
::: code Cloud.toml :::

Execute the `bal build` command to build the Ballerina package. Code to Cloud generates only one container per package.
>**Note:** For Mac users with Apple Silicon chips, set an environment variable `DOCKER_DEFAULT_PLATFORM` to `linux/amd64`, before building the image. This is because the Ballerina Docker image is not supported on Apple Silicon chips yet.
> ```
> export DOCKER_DEFAULT_PLATFORM=linux/amd64
> ```
>**Note:** macOS users with Apple Silicon chips need to set an environment variable named `DOCKER_DEFAULT_PLATFORM` to `linux/amd64`, before building the image. This is because the Ballerina Docker image is not supported on Apple Silicon chips yet. Run `export DOCKER_DEFAULT_PLATFORM=linux/amd64` to set the environment variable.
::: out build_output.out :::

Expand Down
5 changes: 1 addition & 4 deletions examples/kubernetes-hello-world/kubernetes_hello_world.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@ For all the supported key value properties, see [Code to Cloud Specification](ht
::: code Cloud.toml :::

Execute the `bal build` command to build the Ballerina package. Code to Cloud generates only one container per package.
>**Note:** The macOS users with Apple silicon chip need set an environment variable `DOCKER_DEFAULT_PLATFORM` to `linux/amd64`, before building the image. This is because the Ballerina Docker image is not supported on Apple silicon chips yet.
> ```
> export DOCKER_DEFAULT_PLATFORM=linux/amd64
> ```
>**Note:** macOS users with Apple Silicon chips need to set an environment variable named `DOCKER_DEFAULT_PLATFORM` to `linux/amd64`, before building the image. This is because the Ballerina Docker image is not supported on Apple Silicon chips yet. Run `export DOCKER_DEFAULT_PLATFORM=linux/amd64` to set the environment variable.
::: out build_output.out :::

Expand Down

0 comments on commit 83d9674

Please sign in to comment.