Skip to content

Commit

Permalink
Remove DOCKER_DEFAULT_PLATFORM suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
schneems committed Jul 22, 2024
1 parent add031d commit ed5f0b8
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions docs/src/shared/configure_builder.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,4 @@ You can view your default builder at any time:
:::>> $ pack config default-builder
```

The following tutorial is built on amd64 architecture (also known as x86). If you are building on a machine with different architecture (such as arm64/aarch64 for a Mac) you will need to tell Docker to use `linux/amd64` architecture. You can do this via a `--platform linux/amd64` flag or by exporting an environment variable:

```
$ export DOCKER_DEFAULT_PLATFORM=linux/amd64
:::-- rundoc.configure
# Needed because all `$` commands are run as separate isolated processes
ENV["DOCKER_DEFAULT_PLATFORM"] = "linux/amd64"
```
> Note: The `heroku/builder:24` supports both amd64 (also known as x86) and arm64 (such as aarch64 used with newer Mac machines) architectures. If needed, you can configure the architecture for `docker` and `pack` CLIs using the `--platform` argument if needed. For example `--platform linux/amd64`.

0 comments on commit ed5f0b8

Please sign in to comment.