kopia lustrzana https://github.com/OpenDroneMap/ODM
Update Dockerfile
rodzic
31e3203e5a
commit
8f96cde9dd
62
Dockerfile
62
Dockerfile
|
@ -6,18 +6,49 @@ ENV DEBIAN_FRONTEND noninteractive
|
|||
|
||||
# Install dependencies
|
||||
RUN apt-get update \
|
||||
&& sudo apt-get remove libdc1394-22-dev \
|
||||
&& apt-get install -y --install-recommends \
|
||||
build-essential cmake g++ gcc gFortran perl git autoconf \
|
||||
curl wget \
|
||||
unzip \
|
||||
imagemagick jhead proj-bin libproj-dev\
|
||||
libjpeg-dev libboost-all-dev libgsl0-dev libx11-dev libxext-dev liblapack-dev \
|
||||
libeigen3-dev libflann-dev libvtk5-dev libqhull-dev libusb-1.0-0-dev\
|
||||
libjson-perl \
|
||||
libzip-dev \
|
||||
libswitch-perl \
|
||||
libcv-dev libcvaux-dev libopencv-dev \
|
||||
libgoogle-glog-dev libatlas-base-dev libsuitesparse-dev \
|
||||
build-essential \
|
||||
cmake \
|
||||
git \
|
||||
python-pip \
|
||||
libgdal-dev \
|
||||
libgeotiff-dev \
|
||||
pkg-config \
|
||||
libgtk2.0-dev \
|
||||
libavcodec-dev \
|
||||
libavformat-dev \
|
||||
libswscale-dev \
|
||||
python-dev \
|
||||
python-numpy \
|
||||
libtbb2 \
|
||||
libtbb-dev \
|
||||
libjpeg-dev \
|
||||
libpng-dev \
|
||||
libtiff-dev \
|
||||
libjasper-dev \
|
||||
libflann-dev \
|
||||
libproj-dev \
|
||||
libxext-dev \
|
||||
liblapack-dev \
|
||||
libeigen3-dev \
|
||||
libvtk5-dev \
|
||||
python-networkx \
|
||||
libgoogle-glog-dev \
|
||||
libsuitesparse-dev \
|
||||
libboost-filesystem-dev \
|
||||
libboost-iostreams-dev \
|
||||
libboost-regex-dev \
|
||||
libboost-python-dev \
|
||||
libboost-date-time-dev \
|
||||
libboost-thread-dev \
|
||||
python-empy \
|
||||
python-nose \
|
||||
python-pyside \
|
||||
python-pyexiv2 \
|
||||
python-scipy \
|
||||
jhead \
|
||||
liblas-bin \
|
||||
&& apt-get autoremove \
|
||||
&& apt-get clean
|
||||
|
||||
|
@ -35,11 +66,14 @@ ADD . /code/
|
|||
RUN git submodule init && git submodule update
|
||||
|
||||
# Build OpenDroneMap
|
||||
RUN ./install.sh && \
|
||||
RUN bash ./configure.sh && \
|
||||
chown -R odm:odm /code
|
||||
USER odm
|
||||
|
||||
ENV PYTHONPATH=${PYTHONPATH}:/code/SuperBuild/install/lib/python2.7/dist-packages:/code/SuperBuild/src/opensfm \
|
||||
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/code/SuperBuild/install/lib
|
||||
|
||||
# Entry point
|
||||
VOLUME ["/images"]
|
||||
WORKDIR /images
|
||||
ENTRYPOINT ["/code/run.py"]
|
||||
# WORKDIR /images
|
||||
ENTRYPOINT ["python", "/code/run.py", "--project-path", "/images"]
|
||||
|
|
Ładowanie…
Reference in New Issue