Docker images for Rust and LLVM
Allows building Rust applications with the LLVM dependencies on both Windows and Linux
Images are available for x86_64
and aarch64
platforms
For windows the images need to be built manually after accepting the Visual Studio license
Build the image using
-
Linux or WSL 2 (Recommended):
docker build linux/Dockerfile -t rust-llvm
-
Windows containers :
docker build windows/Dockerfile -t rust-llvm
Pull the image using
docker pull ghcr.io/plc-lang/rust-llvm:latest
Run with
docker run -it -v $PWD:/build ghcr.io/plc-lang/rust-llvm:latest
You can import the image into another Dockerfile using
FROM ghcr.io/plc-lang/rust-llvm:latest