Skip to content

Instantly share code, notes, and snippets.

@smellman
Created December 18, 2020 07:27
Embed
What would you like to do?
Py3dtiles dockerfile
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