I am currently working on making the docker builds smaller so that I can update/download ODM faster. While I have been modifying the dockerfiles, I see that ODM has a portable version: https://github.com/OpenDroneMap/ODM/blob/master/portable.Dockerfile that is targeted at an older architecture.
Is the portable version the one that is targeted to the builds for Docker Hub? as it isn’t immediately obvious to me.
Has anyone done any bench-marking at the performance different between the older architecture (Nehalem) and new architectures that use AVX2/AVX512 etc. extensions?
If there is a performance difference, could we do a multi-build for docker and tag the builds that are using the more advanced/modern extensions with :latest-avx512 etc. that way every ones installs will continue to work correctly when they update, and you have to explicitly opt into the newer extensions.
Also looking at the pretty long list of packages that are used as dependencies and requisites, are there any that can be easily said to be used only during the build with cmake, or only when running a production system?
RUN add-apt-repository -y ppa:ubuntugis/ubuntugis-unstable \ && add-apt-repository -y ppa:george-edison55/cmake-3.x \ && apt-get update -y \ && apt-get install --no-install-recommends -y \ build-essential \ cmake \ gdal-bin \ git \ libatlas-base-dev \ libavcodec-dev \ libavformat-dev \ libboost-date-time-dev \ libboost-filesystem-dev \ libboost-iostreams-dev \ libboost-log-dev \ libboost-python-dev \ libboost-regex-dev \ libboost-thread-dev \ libeigen3-dev \ libflann-dev \ libgdal-dev \ libgeotiff-dev \ libgoogle-glog-dev \ libgtk2.0-dev \ libjasper-dev \ libjpeg-dev \ libjsoncpp-dev \ liblapack-dev \ liblas-bin \ libpng-dev \ libproj-dev \ libsuitesparse-dev \ libswscale-dev \ libtbb2 \ libtbb-dev \ libtiff-dev \ libvtk6-dev \ libxext-dev \ python-dev \ python-gdal \ python-matplotlib \ python-pip \ python-software-properties \ python-wheel \ software-properties-common \ swig2.0 \ grass-core \ libssl-dev \ && apt-get remove libdc1394-22-dev \ && pip install --upgrade pip \ && pip install setuptools