The project aim to help create c++ compile docker images which based on gcc:10.2. Docker image my_cpp_compiler encapsulated for testing or self-learning. https://github.com/lzcmoody/my-cpp-compiler
Based on LINUX platform, docker is mandatory.
sh build_image.sh
docker images | grep my_cpp_compiler
docker run -tid -v HOST_PATH:CONTAINER_PATH my_cpp_compiler:v1.0 /bin/bash
Note: replace HOST_PATH and CONTAINER_PATH to the real path.
| key | description | example |
|---|---|---|
| default_package_dir | package downloaded folder | packages |
| package_pull_policy | if_not_present / always | if_not_present |
| base_image | docker base image | gcc:10.2 |
| image_name | target image name | my_cpp_compiler |
| image_version | target image version | v1.0 |
| [dependence] | package urls or names | pkg-config-0.29.2.tar.gz |
| [install] | installation scripts | install_pkg_config.sh |
Here's components installed inside my_cpp_compiler:v1.0:
If the components didn't suffice your requirement, you can choose upgrade or extend it.
Content type
Image
Digest
sha256:97fe19f0a…
Size
1.4 GB
Last updated
about 4 years ago
docker pull charleslucloud/my_cpp_compiler:v1.1