You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Geobase has pip, setuptools and wheel installed
osgeo/gdal has only gdal==3.3.0 and numpy==1.17.4
OS versions
both use ubuntu 20.04.2 LTS
Difference in apt list
This is compared with apt list --installed | cut -d/ -f1 so no version different is included, only libraries, the ones listed are the what they have unique to their image, and the ones not listed are their commons.
gdal has
curl
libblas3
liblapack3
python-is-poython3
python3-numpy
unzip
geobase has
gcc-7-base
libaec0
libatlas3-base
libboost-serialization1.17.0
libc-dev-bin
libc6-dev
libcrypt-dev
libdeflate0
libexpat1-dev
libfreetype6
libgdal
libgfortran4
libgif7
libgif7
libgmpxx4ldbl
libgomp1
libhdf4-0-alt
libhdf5-103
libhdf5-cpp-103
libkmlbase1
libkmlconvenience1
libkmldom1
libkmlengine1
libkmlregionator1
libkmlxsd1
liblcms2-2
liblerc
libminizip1
libmpfr6
libnetcdf-c++4
libnetcdf15
libopenexr24
libproj
libpython3-dev
libpython3.8-dev
libsfcgal1
libspatialindex-c6
libspatialindex6
libsz2
libudunits2-0
libudunits2-data
liburiparser1
libxml2
libyaml-0-2
linux-libc-dev
netcdf-bin
python-pip-whl
python3-dev
python3-distutils
python3-lib2to3
python3-pip
python3-setuptools
python3-venv
python3-wheel
python3.8-dev
python3.8-venv
zlib1g-dev
Notable issues
gdal image Sending build context to Docker daemon 30.98GB whereas geobase only needs Sending build context to Docker daemon 5.12kB potentially misuse of gdal image?
Action taken
Osgeo/gdal:ubuntu-small-latest
Docker image build for this analysis
FROM osgeo/gdal:ubuntu-small-latest
ENTRYPOINT ["tail", "-f", "/dev/null"]
(base) ubuntu@:~$ docker exec -it gallant_roentgen bash
root@7d283437d420:/# pip
bash: pip: command not found
root@7d283437d420:/# python -m pip
/usr/bin/python: No module named pip
root@7d283437d420:/# python
Python 3.8.10 (default, Jun 2 2021, 10:49:15)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pkg_resources
>>> installed_packages = pkg_resources.working_set
>>> installed_packages_list = sorted(["%s==%s" % (i.key, i.version)
... for i in installed_packages])
>>> print(installed_packages_list)
['gdal==3.3.0', 'numpy==1.17.4']
(base) ubuntu@:~$ docker exec -it cranky_torvalds bash
root@a3d7c83bef1b:/# pip freeze
root@a3d7c83bef1b:/# python
bash: python: command not found
root@a3d7c83bef1b:/# python3
Python 3.8.10 (default, Jun 2 2021, 10:49:15)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pkg_resources
urces.working_set
installed_packages_list = sorted(["%s==%s" % (i.key, i.version)
for i in installed_packages])
print(installed_packages_list)>>> installed_packages = pkg_resources.working_set
>>> installed_packages_list = sorted(["%s==%s" % (i.key, i.version)
... for i in installed_packages])
>>> print(installed_packages_list)
['pip==20.0.2', 'setuptools==45.2.0', 'wheel==0.34.2']
Summary of findings
built-in python modules
Geobase has
pip
,setuptools
andwheel
installedosgeo/gdal has only
gdal==3.3.0
andnumpy==1.17.4
OS versions
both use
ubuntu 20.04.2 LTS
Difference in apt list
This is compared with
apt list --installed | cut -d/ -f1
so no version different is included, only libraries, the ones listed are the what they have unique to their image, and the ones not listed are their commons.gdal has
geobase has
Notable issues
gdal image
Sending build context to Docker daemon 30.98GB
whereas geobase only needsSending build context to Docker daemon 5.12kB
potentially misuse of gdal image?Action taken
Osgeo/gdal:ubuntu-small-latest
Docker image build for this analysis
Build log
Base python modules
os details
apt list
Geobase
image build
build log
Base python modules
os details
apt lists
The text was updated successfully, but these errors were encountered: