Base image for Rust with SGX libraries.
For use in downstream builds to provide a consistent and verifiable Rust build environment.
We recommend referencing the image by the hash instead of a tag to verify a consistent build environment.
rust-base
can be used by CI/CD for building and testing mobilecoin rust projects.
To build locally.
docker build -f ./Dockerfile.rust-base -t mobilecoin/rust-base:latest .
rust-sgx
can be used by CI/CD for building and testing mobilecoin rust projects that require SGX libraries. This image is only available as a amd64(X64) image.
- Build
rust-base
image with thelatest
tag. - Build
rust-sgx
image usingrust-base
as theFROM
image.docker build -f ./Dockerfile.rust-sgx -t mobilecoin/rust-sgx:latest .
fat-builder
includes some handy tools used for local development. Build this image off the fat-builder
docker file using rust-base
as the FROM
image. This image does not include SGX libraries or tools.
- Build
rust-base
image with thelatest
tag. - Build
fat-builder
imagedocker build -f ./Dockerfile.fat-builder -t mobilecoin/fat-builder:latest .
fat-sgx-builder
includes some handy tools used for local development along with the SGX libraries. This image is only available for amd64(X64). Build this image off the fat-builder
docker file using rust-sgx
as the FROM
image. This image includes SGX libraries or tools.
- Build
rust-base
image with thelatest
tag. - Build
rust-sgx
image with thelatest
tag. - Build
fat-sgx-builder
imagedocker build --build-arg BASE_IMAGE=rust-sgx -f ./Dockerfile.fat-builder -t mobilecoin/fat-sgx-builder:latest .
fat-devcontainer
is based off the fat-builder
image, but includes a non-root user configuration for use as a devcontainer with IDEs like VScode. Build this image off the devcontainer
docker file using fat-builder
as the FROM
image.
- Build
rust-base
image with thelatest
tag. - Build
fat-builder
image with thelatest
tag. - Build
fat-devcontainer
imagedocker build --build-arg BASE_IMAGE=fat-builder -f ./Dockerfile.devcontainer -t mobilecoin/fat-devcontainer:latest .
fat-devcontainer
is based off the fat-sgx-builder
image, but includes a non-root user configuration for use as a devcontainer with IDEs like VScode. Build this image off the devcontainer
docker file using fat-sgx-builder
as the FROM
image. This image includes SGX libraries or tools.
- Build
rust-base
image with thelatest
tag. - Build
rust-sgx
image with thelatest
tag. - Build
fat-sgx-builder
image with thelatest
tag. - Build
fat-sgx-devcontainer
imagedocker build --build-arg BASE_IMAGE=fat-sgx-builder -f ./Dockerfile.devcontainer -t mobilecoin/fat-sgx-devcontainer:latest .