Skip to content

Install all small apt packages used across projects#37

Merged
orangejulius merged 1 commit into
masterfrom
install-all-used-packages
Dec 18, 2025
Merged

Install all small apt packages used across projects#37
orangejulius merged 1 commit into
masterfrom
install-all-used-packages

Conversation

@orangejulius
Copy link
Copy Markdown
Member

This consolidates all the apt-get install commands across all the importer and service Dockerfiles. Many of them installed small utilities such as compression or decompression tools, often duplicating tools that were already installed in the baseimage.

After the change in this PR, only interpolation needs any custom apt-get install commands (to bring in big things like gdal). Everything else should now be in the baseimage.

This will help keep the tooling we have available more uniform (some of our downloaders only could decompress certain formats for example), and should save a tiny amount of space across all our docker images.

This consolidates all the `apt-get install` commands across all the
importer and service Dockerfiles. Many of them installed small utilities
such as compression or decompression tools, often duplicating tools that
were already installed in the baseimage.

After the change in this PR, only `interpolation` needs any custom
`apt-get install` commands (to bring in big things like `gdal`).
Everything else should now be in the baseimage.

This will help keep the tooling we have available more uniform (some of
our downloaders only could decompress certain formats for example), and
should save a tiny amount of space across all our docker images.
@orangejulius orangejulius force-pushed the install-all-used-packages branch from 40fac07 to eed1585 Compare December 18, 2025 13:56
Copy link
Copy Markdown
Member

@missinglink missinglink left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My understanding is that awk is a link to gawk on ubuntu, but maybe being explicit is good.

ls -lah /usr/bin/awk
lrwxrwxrwx 1 root root 21 Feb 17  2023 /usr/bin/awk -> /etc/alternatives/awk

ls -lah /etc/alternatives/awk
lrwxrwxrwx 1 root root 13 Feb 17  2023 /etc/alternatives/awk -> /usr/bin/gawk

Let's try and remove the parallel dep if possible.

Other than that looks good 👍

@orangejulius
Copy link
Copy Markdown
Member Author

Yup, I just pushed a change to remove parallel, it's was not used, see pelias/placeholder#248.

@orangejulius orangejulius merged commit 6f1de72 into master Dec 18, 2025
1 check passed
@orangejulius orangejulius deleted the install-all-used-packages branch December 18, 2025 15:11
orangejulius added a commit to pelias/geonames that referenced this pull request Dec 18, 2025
These packages are now installed in the baseimage, so we don't need to
install them here.

See pelias/docker-baseimage#37
orangejulius added a commit to pelias/csv-importer that referenced this pull request Dec 18, 2025
These packages are now installed in the baseimage, so we don't need to
install them here.

See pelias/docker-baseimage#37
orangejulius added a commit to pelias/spatial that referenced this pull request Dec 18, 2025
These packages are now installed in the baseimage, so we don't need to
install them here.

See pelias/docker-baseimage#37
missinglink pushed a commit to pelias/spatial that referenced this pull request Jan 12, 2026
These packages are now installed in the baseimage, so we don't need to
install them here.

See pelias/docker-baseimage#37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants