2026-07-12 18:43:27 +01:00
|
|
|
name: ifcopenshell-${UNIQUE_ID}
|
|
|
|
|
services:
|
|
|
|
|
ifcopenshell:
|
|
|
|
|
container_name: ifcopenshell-${UNIQUE_ID}
|
|
|
|
|
image: ifcopenshell-build-env:updated
|
2026-07-12 20:35:01 +01:00
|
|
|
platform: linux/amd64
|
2026-07-13 06:44:55 +03:00
|
|
|
# There's no `build:` section - the image is always produced ahead of
|
|
|
|
|
# time by `./ifcos_env create` (`docker build`, not `docker compose
|
|
|
|
|
# build`). Without this, a platform mismatch between the pin above and
|
|
|
|
|
# whatever's in the local image store makes compose treat the image as
|
|
|
|
|
# absent and fall back to pulling ifcopenshell-build-env:updated from
|
|
|
|
|
# Docker Hub, where it doesn't exist. Fail fast with a clear "not
|
|
|
|
|
# found" instead of an obscure registry access-denied error.
|
|
|
|
|
pull_policy: never
|
2026-07-12 18:43:27 +01:00
|
|
|
volumes:
|
|
|
|
|
- type: bind
|
|
|
|
|
source: ../
|
|
|
|
|
target: /__w/IfcOpenShell/IfcOpenShell
|
|
|
|
|
- ccache:/ccache
|
|
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
|
ccache:
|