Created
December 18, 2020 07:27
-
-
Save smellman/b3e8443357e38f7382c5d137e0d7c178 to your computer and use it in GitHub Desktop.
Py3dtiles dockerfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:20.10 | |
LABEL maintainer="Taro Matsuzawa ([email protected])" | |
WORKDIR / | |
RUN set -ex \ | |
&& apt-get update \ | |
&& apt-get install -y --no-install-recommends \ | |
python3 \ | |
python3-pip \ | |
libopenblas-base \ | |
pdal \ | |
# build dependency | |
git \ | |
build-essential \ | |
python3-dev \ | |
&& cd /usr/src \ | |
&& git clone https://gitlab.com/Oslandia/py3dtiles.git \ | |
&& cd /usr/src/py3dtiles \ | |
&& pip3 install setuptools \ | |
&& pip3 install -e . \ | |
&& python3 setup.py install \ | |
&& cd /usr/src \ | |
&& rm -fr /usr/src/py3dtiles \ | |
&& apt-get remove -y \ | |
git \ | |
build-essential \ | |
python3-dev \ | |
&& rm -rf /var/lib/apt/lists/* | |
ENTRYPOINT ["/usr/local/bin/py3dtiles"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment