First docker build environment

First functional version, but it needs some improvements and fixes
identified as I've used it personally on one thing, and when an AI
(Claude) used it to work through the CI test errors.

I had the AI make a SKILL.md file. If the AI indicates it needs to
build the ifcopenshell binary, use this and let it rip.

(cherry picked from commit fa98aad469)
This commit is contained in:
Stephen Boddy
2026-07-12 18:43:27 +01:00
committed by Dion Moult
parent bda66c9ec2
commit 68b234f59b
9 changed files with 546 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
FROM ifcopenshell-build-env:updated
# Update system
RUN dnf update -y
# Clean the caches
RUN dnf clean all && \
rm -rf /var/cache/dnf
# Setup uv
COPY --from=ghcr.io/astral-sh/uv:0.11.27 /uv /uvx /bin/
# Install Python
RUN uv python install
CMD ["sleep", "infinity"]