Skip to content
This repository was archived by the owner on Dec 21, 2025. It is now read-only.

Commit 6402669

Browse files
authored
Merge pull request #119 from crazy-max/riscv64
dockerfile: riscv64 support
2 parents 4c27762 + 950f0a4 commit 6402669

2 files changed

Lines changed: 15 additions & 14 deletions

File tree

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -54,19 +54,19 @@ docker buildx bake image-all
5454
| [Docker Hub](https://hub.docker.com/r/crazymax/cloudflared/) | `crazymax/cloudflared` |
5555
| [GitHub Container Registry](https://github.com/users/crazy-max/packages/container/package/cloudflared) | `ghcr.io/crazy-max/cloudflared` |
5656

57-
Following platforms for this image are available:
57+
The following platforms for this image are available:
5858

5959
```
60-
$ docker run --rm mplatform/mquery crazymax/cloudflared:latest
61-
Image: crazymax/cloudflared:latest
62-
* Manifest List: Yes
63-
* Supported platforms:
64-
- linux/amd64
65-
- linux/arm/v6
66-
- linux/arm/v7
67-
- linux/arm64
68-
- linux/386
69-
- linux/ppc64le
60+
$ docker buildx imagetools inspect crazymax/cloudflared --format "{{json .Manifest}}" | \
61+
jq -r '.manifests[] | select(.platform.os != null and .platform.os != "unknown") | .platform | "\(.os)/\(.architecture)\(if .variant then "/" + .variant else "" end)"'
62+
63+
linux/amd64
64+
linux/arm/v6
65+
linux/arm/v7
66+
linux/arm64
67+
linux/386
68+
linux/ppc64le
69+
linux/riscv64
7070
```
7171

7272
## Environment variables

docker-bake.hcl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,12 @@ target "image-local" {
2424
target "image-all" {
2525
inherits = ["image"]
2626
platforms = [
27+
"linux/386",
2728
"linux/amd64",
29+
"linux/arm64",
2830
"linux/arm/v6",
2931
"linux/arm/v7",
30-
"linux/arm64",
31-
"linux/386",
32-
"linux/ppc64le"
32+
"linux/ppc64le",
33+
"linux/riscv64"
3334
]
3435
}

0 commit comments

Comments
 (0)