Skip to content

Commit 52f71f6

Browse files
committed
Describe platform and riscv64 support in README
Signed-off-by: Avi Deitcher <[email protected]>
1 parent c139b1a commit 52f71f6

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,24 @@ RUN cargo build --release
5858
RUN cargo sbom > sbom.spdx.json
5959
```
6060

61+
## Supported platforms
62+
63+
This image is built for linux/amd64 and linux/arm64. riscv64 is
64+
not supported _yet_ as a host platform, and therefore no image is released for riscv64.
65+
When rust on alpine is fully ready, it will be added, likely with alpine 3.21.
66+
67+
Supported target platforms are listed in the [Dockerfile](./Dockerfile#L3). As of this writing, these
68+
are:
69+
70+
* x86_64-unknown-linux-musl
71+
* aarch64-unknown-linux-musl
72+
* x86_64-unknown-linux-gnu
73+
* aarch64-unknown-linux-gnu
74+
* riscv64gc-unknown-linux-gnu
75+
76+
Note that riscv64 is supported gnu only, not musl, and so is not usable on Alpine-based systems
77+
without first installing glibc. This, too, will be fixed when rust on alpine is fully ready.
78+
6179
## Versioning
6280

6381
The version of this image is the version of the rust toolchain it contains. This makes it easy to know what

0 commit comments

Comments
 (0)