Skip to content

Commit 0a1ae8b

Browse files
authored
Update docker.md (WasmEdge#3874) (#256)
- The latest version of Ubuntu supported by WasmEdge was upgraded from 22.04 to 24.04. [WasmEdge#3874] - Add `manylinux_2_28` as `manylinux2014` was already deprecated. [WasmEdge#3154] - List images that can be used for plugins development. [WasmEdge#3874]: WasmEdge/WasmEdge#3847 [WasmEdge#3154]: WasmEdge/WasmEdge#3154 Signed-off-by: Yi Huang <[email protected]>
1 parent 524e624 commit 0a1ae8b

File tree

1 file changed

+43
-11
lines changed

1 file changed

+43
-11
lines changed

docs/contribute/source/docker.md

Lines changed: 43 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,50 @@ sidebar_position: 2
44

55
# Docker Images for Building WasmEdge
66

7-
WasmEdge supports a wide range of Linux distributions dated back to 2014. The official release contains statically linked binaries and libraries for older Linux systems.
7+
You can pull a Docker image with the following command to [build WasmEdge from source](build_from_src.md).
88

9-
The table below shows build targets in WasmEdge's official release packages.
9+
```bash
10+
docker pull wasmedge/wasmedge:{tag_name}
11+
```
1012

11-
Developers can use the `docker pull wasmedge/wasmedge:{tag_name}` command to pull the docker image for WasmEdge building.
13+
## Weekly-Built Docker Images
1214

13-
| tag name | arch | based operating system | LLVM version | ENVs | compatibility | comments |
15+
Images listed below are used in WasmEdge CI workflows for testing and/or release. All of them contain preinstalled dependencies for building WasmEdge (core).
16+
17+
| `{tag name}` | Arch | Based OS | LLVM version | ENVs | Compatibility | Description |
1418
| --- | --- | --- | --- | --- | --- | --- |
15-
| `latest` | x86_64 | Ubuntu 22.04 LTS | 15.0.7 | CC=clang, CXX=clang++ | Ubuntu 22.04+ | This is for CI, will always use the latest Ubuntu LTS release |
16-
| `ubuntu-build-gcc` | x86_64 | Ubuntu 22.04 LTS | 15.0.7 | CC=gcc, CXX=g++ | Ubuntu 22.04+ | This is for CI, will always use the latest Ubuntu LTS release |
17-
| `ubuntu-build-clang` | x86_64 | Ubuntu 22.04 LTS | 15.0.7 | CC=clang, CXX=clang++ | Ubuntu 22.04+ | This is for CI, will always use the latest Ubuntu LTS release |
18-
| `ubuntu2004_x86_64` | x86_64 | Ubuntu 20.04 LTS | 10.0.0 | CC=gcc, CXX=g++ | Ubuntu 20.04+ | This is for developers who familiar with Ubuntu 20.04 LTS release |
19-
| `ubuntu2104_armv7l` | armhf | Ubuntu 21.04 | 12.0.0 | CC=gcc, CXX=g++ | Ubuntu 21.04+ | This is for armhf release |
20-
| `manylinux2014_x86_64` | x86_64 | CentOS 7, 7.9.2009 | 16.0.5 | CC=gcc, CXX=g++ | Ubuntu 16.04+, CentOS 7+ | This is for developers who familiar with CentOS on x86_64 architecture |
21-
| `manylinux2014_aarch64` | aarch64 | CentOS 7, 7.9.2009 | 16.0.5 | CC=gcc, CXX=g++ | Ubuntu 16.04+, CentOS 7+ | This is for developers who familiar with CentOS on aarch64 architecture |
19+
| `latest` | x86_64 | Ubuntu 24.04 LTS | 18.1.3 | CC=clang, CXX=clang++ | Ubuntu 24.04+ | Latest Ubuntu LTS, currently Ubuntu 24.04 LTS |
20+
| `ubuntu-build-clang` | x86_64 | Ubuntu 24.04 LTS | 18.1.3 | CC=clang, CXX=clang++ | Ubuntu 24.04+ | `latest` with `clang` as the default toolchain |
21+
| `ubuntu-build-gcc` | x86_64 | Ubuntu 24.04 LTS | 18.1.3 | CC=gcc, CXX=g++ | Ubuntu 24.04+ | `latest` with `gcc` as the default toolchain |
22+
| `ubuntu-20.04` | x86_64 | Ubuntu 20.04 LTS | 12.0.0 | CC=clang, CXX=clang++ | Ubuntu 20.04+ | Ubuntu 20.04 LTS |
23+
| `ubuntu-20.04-build-clang` | x86_64 | Ubuntu 20.04 LTS | 12.0.0 | CC=clang, CXX=clang++ | Ubuntu 20.04+ | `ubuntu-20.04` with `clang` as the default toolchain |
24+
| `ubuntu-20.04-build-gcc` | x86_64 | Ubuntu 20.04 LTS | 12.0.0 | CC=gcc, CXX=g++ | Ubuntu 20.04+ | `ubuntu-20.04` with `gcc` as the default toolchain |
25+
| `ubuntu-20.04-aarch64` | aarch64 | Ubuntu 20.04 LTS | 12.0.0 | CC=clang, CXX=clang++ | Ubuntu 20.04+ | `ubuntu-20.04` for aarch64 |
26+
| `manylinux_2_28_x86_64` | x86_64 | AlmaLinux 8.10 | 17.0.6 || Ubuntu 20.04+, CentOS 8.4+ | manylinux_2_28 for x86_64 |
27+
| `manylinux_2_28_aarch64` | aarch64 | AlmaLinux 8.10 | 17.0.6 || Ubuntu 20.04+, CentOS 8.4+ | manylinux_2_28 for aarch64 |
28+
29+
Images that end with `-plugins-deps` contain extra dependencies for building plugins.
30+
31+
| `{tag name}` | Arch | Based OS | LLVM version | Base Image |
32+
| --- | --- | --- | --- | --- |
33+
| `ubuntu-build-clang-plugins-deps` | x86_64 | Ubuntu 24.04 LTS | 18.1.3 | `ubuntu-build-clang` |
34+
| `ubuntu-build-gcc-plugins-deps` | x86_64 | Ubuntu 24.04 LTS | 18.1.3 | `ubuntu-build-gcc` |
35+
| `ubuntu-20.04-build-clang-plugins-deps` | x86_64 | Ubuntu 20.04 LTS | 12.0.0 | `ubuntu-build-clang` |
36+
| `ubuntu-20.04-build-gcc-plugins-deps` | x86_64 | Ubuntu 20.04 LTS | 12.0.0 | `ubuntu-build-gcc` |
37+
| `manylinux_2_28_x86_64-plugins-deps` | x86_64 | AlmaLinux 8.10 | 17.0.6 | `manylinux_2_28_x86_64` |
38+
| `manylinux_2_28_aarch64-plugins-deps` | aarch64 | AlmaLinux 8.10 | 17.0.6 | `manylinux_2_28_aarch64` |
39+
40+
## Deprecated Docker Images
41+
42+
Images listed below are no longer maintained but still available.
43+
44+
| `{tag name}` | Arch | Based OS | LLVM version | ENVs | Compatibility | Note |
45+
| --- | --- | --- | --- | --- | --- | --- |
46+
| `ubuntu2004_x86_64` | x86_64 | Ubuntu 20.04 LTS | 10.0.0 | CC=gcc, CXX=g++ | Ubuntu 20.04+ ||
47+
| `ubuntu2104_armv7l` | armhf | Ubuntu 21.04 | 12.0.0 | CC=gcc, CXX=g++ | Ubuntu 21.04+ ||
48+
| `manylinux2014_x86_64` | x86_64 | CentOS 7, 7.9.2009 | 17.0.6 || Ubuntu 16.04+, CentOS 7+ | Deprecated[¹] |
49+
| `manylinux2014_aarch64` | aarch64 | CentOS 7, 7.9.2009 | 17.0.6 || Ubuntu 16.04+, CentOS 7+ | Deprecated[¹] |
50+
51+
- [¹] Deprecation notice of CentOS 7 at [WasmEdge#3154](https://github.com/WasmEdge/WasmEdge/discussions/3154)
52+
53+
[¹]: https://github.com/WasmEdge/WasmEdge/discussions/3154

0 commit comments

Comments
 (0)