Skip to content

Commit

Permalink
docs: fix bake command and supported architectures
Browse files Browse the repository at this point in the history
  • Loading branch information
theseion committed Dec 20, 2023
1 parent 61bc83d commit 4a3ce73
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
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

0 comments on commit 4a3ce73

Please sign in to comment.