Py3dtiles dockerfile
This file contains 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 (taro@georepublic.co.jp)" | |
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