This Docker image, based on Ubuntu 20.04, contains the following components:
- LLVM 10.0.1 (Binaries and development headers are installed at
/llvm; the source code of LLVM can be found at/llvm-src) - Flex 2.6.4
- Bison 3.5.1
- GCC, G++ 9.3.0
In addition to common files,
/llvm: Binaries and development headers are installed here/llvm-src: Source code of LLVM
- Default locale:
zh_CN.UTF-8 /llvm/binis included inPATHvim,nanoinstalled by default
- Image: an executable
- Container: a process (but you can stop it and resume it at any time)
docker pull ksqsf/llvm
Consider using USTC Mirrors.
docker run \
--name $NAME \
-v $HOST_DIR:$DOCKER_PATH \
-it ksqsf/llvm
$HOST_DIRmust be absolute. Consider usingrealpath.- Since
--rmis not present, after you exit, the container will not be deleted. Check its existence withdocker ps -aordocker container ls -a(it doesn't display stopped containers without-a).
docker start -ai $NAME