Builds a Docker image with the eda-osic-tools environment and OpenROAD Flow Scripts (ORFS), Open-PDKs, etc.
Defaults live in .env:
workspace_dir=/eda-osic-toolsENV_VENV_ROOT=/venvENV_ORFS_ROOT=/orfsENV_YOSYS_EXE=/orfs/dependencies/bin/yosys
- Docker with Buildx, or
- Docker with compose, or
- Free disk space on the Docker host
docker buildx build . -f dockerfile \
--no-cache \
--progress=plain \
--tag tum-ei-eda/eda-osic-tools:latest-default-ubuntu-latest \
--target eda-osic-tools \
--build-arg BASE_IMAGE=ubuntu:latest \
--build-arg workspace_dir=/eda-osic-tools \
--build-arg ENV_VENV_ROOT=/venvdocker-compose --env-file .env up --builddocker pull tumeda/eda-osic-tools:latest-default-ubuntu-latestRun an interactive shell with the current checkout mounted into the default workspace:
docker run --rm -it \
-v "$(pwd)":/your-workspace \
-w /your-workspace \
tumeda/eda-osic-tools:latest-default-ubuntu-latest \
bashInside the container, load the default environment from the copied /eda-osic-tools:
. /eda-osic-tools/env.sh /eda-osic-tools/.env