From bed212d3286b13f1f4ea0f1369e9e60ce4f1e775 Mon Sep 17 00:00:00 2001 From: Geert Hesselink Date: Tue, 5 Nov 2024 11:59:27 +0100 Subject: [PATCH] update ifcopenshell docker & makefile --- backend/Makefile | 4 ++-- docker/backend/Dockerfile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/Makefile b/backend/Makefile index 9d7202a..baf435a 100644 --- a/backend/Makefile +++ b/backend/Makefile @@ -13,7 +13,7 @@ install: venv . $(VIRTUAL_ENV)/bin/activate && \ pip install --upgrade pip && \ pip install -r requirements.txt && \ - wget -O /tmp/ifcopenshell_python.zip "https://s3.amazonaws.com/ifcopenshell-builds/ifcopenshell-python-311-v0.7.9-c18e4ea-linux64.zip" && \ + wget -O /tmp/ifcopenshell_python.zip "https://s3.amazonaws.com/ifcopenshell-builds/ifcopenshell-python-311-v0.8.1-92b63a0-linux64.zip" && \ mkdir -p $(VIRTUAL_ENV)/lib/python3.11/site-packages && \ unzip -f -d $(VIRTUAL_ENV)/lib/python3.11/site-packages /tmp/ifcopenshell_python.zip && \ rm /tmp/ifcopenshell_python.zip @@ -22,7 +22,7 @@ install-macos: venv . $(VIRTUAL_ENV)/bin/activate && \ pip install --upgrade pip && \ pip install -r requirements.txt && \ - wget -O /tmp/ifcopenshell_python.zip "https://s3.amazonaws.com/ifcopenshell-builds/ifcopenshell-python-311-v0.7.9-c18e4ea-macos64.zip" && \ + wget -O /tmp/ifcopenshell_python.zip "https://s3.amazonaws.com/ifcopenshell-builds/ifcopenshell-python-311-v0.8.1-92b63a0-macos64.zip" && \ mkdir -p $(VIRTUAL_ENV)/lib/python3.11/site-packages && \ unzip /tmp/ifcopenshell_python.zip -d .dev/venv/lib/python3.11/site-packages && \ rm /tmp/ifcopenshell_python.zip diff --git a/docker/backend/Dockerfile b/docker/backend/Dockerfile index f843379..08dbbaf 100644 --- a/docker/backend/Dockerfile +++ b/docker/backend/Dockerfile @@ -37,7 +37,7 @@ RUN --mount=type=cache,target=/root/.cache \ pip install --no-cache-dir -r /app/backend/requirements.txt && \ # use version of ifcopenshell with desired schema parsing # TODO: revert to pyPI when schema parsing is published in the future - wget -O /tmp/ifcopenshell_python.zip "https://s3.amazonaws.com/ifcopenshell-builds/ifcopenshell-python-311-v0.7.9-c18e4ea-linux64.zip" && \ + wget -O /tmp/ifcopenshell_python.zip "https://s3.amazonaws.com/ifcopenshell-builds/ifcopenshell-python-311-v0.8.1-92b63a0-linux64.zip" && \ mkdir -p /opt/venv/lib/python3.11/site-packages && \ unzip -d /opt/venv/lib/python3.11/site-packages /tmp/ifcopenshell_python.zip && \ # some cleanup