################################################################################ # Install dependencies for dev # ################################################################################ # https://github.com/moby/moby/issues/38379#issuecomment-448445652 ARG fromImage=ubuntu:26.04 ARG devImage=dev FROM $fromImage AS dev ENV DEBIAN_FRONTEND=noninteractive ENV TZ=America/Los_Angeles ENV LANG=C.UTF-8 ENV LC_ALL=C.UTF-8 ARG INSTALLER_ARGS="" COPY etc/DependencyInstaller.sh /tmp/. RUN </dev/null 2>&1; then rm -rf /var/lib/apt/lists/* fi rm -f /tmp/DependencyInstaller.sh EOF ################################################################################ # Build OpenROAD from source # ################################################################################ FROM $devImage AS builder ARG numThreads=NotSet # Release builds pass the published version, for example # --build-arg orVersion=2026-09-10. The build context has no .git directory, # so the Bazel stamp cannot find the version by itself. ARG orVersion="" RUN <