This directory contains everything needed to build the Docker images that are used in ExecuTorch CI. The content of this directory are copied from PyTorch CI https://github.com/pytorch/pytorch/tree/main/.ci/docker. It also uses the same directory structure as PyTorch.
build.sh
-- dispatch script to launch all buildscommon
-- scripts used to execute individual Docker build stagesubuntu
-- Dockerfile for Ubuntu image for CPU build and test jobs
# Generic usage
./build.sh "${IMAGE_NAME}" "${DOCKER_BUILD_PARAMETERS}"
# Build a specific image
./build.sh executorch-ubuntu-22.04-clang12 -t myimage:latest
# Set CLANG version (see build.sh) and build image
CLANG_VERSION=11 ./build.sh executorch-ubuntu-22.04-clang11 -t myimage:latest