Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix bake command and supported architectures #179

Merged
merged 1 commit into from
Dec 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README-containers.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ We also build [alpine linux](https://www.alpinelinux.org/) variants of the base
## Supported architectures

* linux/amd64
* linux/i386
* linux/arm64
* linux/arm/v7
* linux/arm64/v8
* linux/i386

## Quick reference

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,17 @@ docker buildx bake -f ./docker-bake.hcl --print
We are building now for these architectures:

* linux/amd64
* linux/i386
* linux/arm64
* linux/arm/v7
* linux/arm64/v8
* linux/i386

You can find additional examples on how to use `buildx` in this repository's GitHub act
We added the [docker buildx](https://github.com/docker/buildx) support to our docker builds so additional architectures are supported now. As we create our containers based on the official apache and nginx ones, we can only support the architectures they support.

To build a specific target for a single platform only (replace target and platform strings in the example with the your choices):

```bash
docker buildx bake -f docker-bake.hcl --set target.platforms=linux/amd64 nginx-alpine
docker buildx bake -f docker-bake.hcl --set "*.platform=linux/amd64" nginx-alpine
```

## CRS Versions
Expand Down