From 069aee0638a45c1797981e8ebea3eb8c44532d20 Mon Sep 17 00:00:00 2001 From: Adam Eri Date: Tue, 14 Dec 2021 12:04:36 +0100 Subject: [PATCH] Updated IfcConvert to the latest version. --- Dockerfile | 10 ++++++++-- README.md | 11 +++++++++++ 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ea86855..830ed89 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,8 +23,14 @@ RUN npm install npm@latest -g \ && npm install xeokit/xeokit-gltf-to-xkt#35c3378849efca927af948ba0c2a293ca17c2da8 -g # Converting tools -COPY --from=IfcConvert /usr/bin/IfcConvert /usr/bin/IfcConvert -RUN ln -s /usr/lib/IfcConvert /usr/local/bin/IfcConvert + +# Version 0.6.0 +RUN wget --quiet https://s3.amazonaws.com/ifcopenshell-builds/IfcConvert-v0.6.0-517b819-linux64.zip \ + && unzip -q IfcConvert-v0.6.0-517b819-linux64.zip -d /usr/lib/IfcConvert \ + && ln -s /usr/lib/IfcConvert/IfcConvert /usr/local/bin/IfcConvert \ + && rm -rf IfcConvert-v0.6.0-517b819-linux64.zip + +# ATTN: Version 0.6.0b (!) COPY --from=IfcConvert /usr/local/lib/python3.6/dist-packages/ifcopenshell /usr/local/lib/python3.6/dist-packages/ifcopenshell # Install COLLADA2GLTF diff --git a/README.md b/README.md index 6933777..15ed928 100644 --- a/README.md +++ b/README.md @@ -38,8 +38,19 @@ xeokit-metadata scene.ifc scene.json The `IfcConvert` library is available through [`bimspot/ifcopenshell`][2]. The xeokit-converter image is based on the [bionic dotnet runtime][3]. +## Distribution + +The image is build locally and pushed to [Docker hub][5] with your own credentials. +Semver applies. + +``` +~ docker build -t bimspot/xeokit-converter:1.3.x . +~ docker push bimspot/xeokit-converter:1.3.x +``` + [1]: https://github.com/xeokit/xeokit-gltf-to-xkt [2]: https://cloud.docker.com/u/bimspot/repository/docker/bimspot/ifcopenshell [3]: mcr.microsoft.com/dotnet/core/runtime:2.2-bionic [4]: https://cloud.docker.com/u/bimspot/repository/docker/bimspot/xeokit-converter [5]: https://hub.docker.com/r/bimspot/xeokit-converter +