mirror of https://github.com/aminya/setup-cpp.git
docs: update the readme image list order
This commit is contained in:
parent
35236e9929
commit
8a65a11eac
106
README.md
106
README.md
|
|
@ -199,67 +199,93 @@ jobs:
|
|||
|
||||
To provide fast development environments, `setup-cpp` provides several prebuilt docker images that have the tools you need. You can use these images as a base image for your project.
|
||||
|
||||
With `llvm` and `cmake, ninja, task, vcpkg, python, make, cppcheck, gcovr, doxygen, ccache, conan, meson, cmakelang`
|
||||
The names are in the format `aminya/setup-cpp-<platform>:<platform_version>-<setup_cpp_version>` and `aminya/setup-cpp-<platform>-<compiler>:<platform_version>-<setup_cpp_version>`.
|
||||
|
||||
#### Ubuntu Images
|
||||
|
||||
Base image with `cmake, ninja, task, vcpkg, python, make, cppcheck, gcovr, doxygen, ccache, conan, meson, cmakelang`
|
||||
|
||||
Image with `llvm` and the base tools:
|
||||
|
||||
```dockerfile
|
||||
FROM aminya/setup-cpp-ubuntu-llvm:22.04-0.46.2 AS builder
|
||||
```
|
||||
|
||||
```dockerfile
|
||||
FROM aminya/setup-cpp-fedora-llvm:40-0.46.2 AS builder
|
||||
```
|
||||
|
||||
```dockerfile
|
||||
FROM aminya/setup-cpp-arch-llvm:base-0.46.2 AS builder
|
||||
```
|
||||
|
||||
With `gcc` and `cmake, ninja, task, vcpkg, python, make, cppcheck, gcovr, doxygen, ccache, conan, meson, cmakelang`
|
||||
Image with `gcc` and the base tools:
|
||||
|
||||
```dockerfile
|
||||
FROM aminya/setup-cpp-ubuntu-gcc:22.04-0.46.2 AS builder
|
||||
```
|
||||
|
||||
```dockerfile
|
||||
FROM aminya/setup-cpp-fedora-gcc:40-0.46.2 AS builder
|
||||
```
|
||||
|
||||
```dockerfile
|
||||
FROM aminya/setup-cpp-arch-gcc:base-0.46.2 AS builder
|
||||
```
|
||||
|
||||
With `mingw` and `cmake, ninja, task, vcpkg, python, make, cppcheck, gcovr, doxygen, ccache, conan, meson, cmakelang`
|
||||
Image with `mingw` and the base tools:
|
||||
|
||||
```dockerfile
|
||||
FROM aminya/setup-cpp-ubuntu-mingw:22.04-0.46.2 AS builder
|
||||
```
|
||||
|
||||
#### Fedora Images
|
||||
|
||||
<details>
|
||||
|
||||
Base image with `cmake, ninja, task, vcpkg, python, make, cppcheck, gcovr, doxygen, ccache, conan, meson, cmakelang`
|
||||
|
||||
```dockerfile
|
||||
FROM aminya/setup-cpp-fedora-base:40-0.46.2 AS builder
|
||||
```
|
||||
|
||||
Image with `llvm` and the base tools:
|
||||
|
||||
```dockerfile
|
||||
FROM aminya/setup-cpp-fedora-llvm:40-0.46.2 AS builder
|
||||
```
|
||||
|
||||
Image with `gcc` and the base tools:
|
||||
|
||||
```dockerfile
|
||||
FROM aminya/setup-cpp-fedora-gcc:40-0.46.2 AS builder
|
||||
```
|
||||
|
||||
Image with `mingw` and the base tools:
|
||||
|
||||
```dockerfile
|
||||
FROM aminya/setup-cpp-fedora-mingw:40-0.46.2 AS builder
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
#### ArchLinux Images
|
||||
|
||||
<details>
|
||||
|
||||
Base image with `cmake, ninja, task, vcpkg, python, make, cppcheck, gcovr, doxygen, ccache, conan, meson, cmakelang`
|
||||
|
||||
```dockerfile
|
||||
FROM aminya/setup-cpp-arch-base:base-0.46.2 AS builder
|
||||
```
|
||||
|
||||
Image with `llvm` and the base tools:
|
||||
|
||||
```dockerfile
|
||||
FROM aminya/setup-cpp-arch-llvm:base-0.46.2 AS builder
|
||||
```
|
||||
|
||||
Image with `gcc` and the base tools:
|
||||
|
||||
```dockerfile
|
||||
FROM aminya/setup-cpp-arch-gcc:base-0.46.2 AS builder
|
||||
```
|
||||
|
||||
Image with `mingw` and the base tools:
|
||||
|
||||
```dockerfile
|
||||
FROM aminya/setup-cpp-arch-mingw:base-0.46.2 AS builder
|
||||
```
|
||||
|
||||
With `cmake, ninja, task, vcpkg, python, make, cppcheck, gcovr, doxygen, ccache, conan, meson, cmakelang`
|
||||
</details>
|
||||
|
||||
```dockerfile
|
||||
FROM aminya/setup-cpp-ubuntu:22.04-0.46.2 AS builder
|
||||
```
|
||||
### Custom Docker Images
|
||||
|
||||
```dockerfile
|
||||
FROM aminya/setup-cpp-ubuntu:22.04-0.46.2 AS builder
|
||||
```
|
||||
|
||||
```dockerfile
|
||||
FROM aminya/setup-cpp-fedora:40-0.46.2 AS builder
|
||||
```
|
||||
|
||||
```dockerfile
|
||||
FROM aminya/setup-cpp-arch:base-0.46.2 AS builder
|
||||
```
|
||||
|
||||
The names are in the format `aminya/setup-cpp-<platform>:<platform_version>-<setup_cpp_version>` and `aminya/setup-cpp-<platform>-<compiler>:<platform_version>-<setup_cpp_version>`.
|
||||
|
||||
If you need to install the tools selectively, see the next section.
|
||||
|
||||
### Inside Docker
|
||||
If you need to install the tools selectively, you can create your own Docker image with the tools you need.
|
||||
|
||||
Here is an example for using setup-cpp to make a builder image that has the Cpp tools you need.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue