Skip to content

Commit

Permalink
Updated IfcConvert to the latest version.
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Eri committed Dec 14, 2021
1 parent cc45321 commit 069aee0
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 069aee0

Please sign in to comment.