kovetskiy / mark

Sync your markdown files with Confluence pages.
https://samizdat.dev
Apache License 2.0
1k stars 151 forks source link

container file: only install git-core in container #405

Closed gthieleb closed 8 months ago

gthieleb commented 9 months ago

This PR helps to only install the minimal git client without X11 dependencies which reduces the size of the Container Image and lowers the number of security CVE reported.

mrueg commented 8 months ago

As far as I understand https://packages.debian.org/bullseye/git-core is a virtual package for https://packages.debian.org/bullseye/git how would this make a difference?

gthieleb commented 8 months ago

You are correct. I was the assumption that this package installs the x11 dependencies of git but it seems I was mixing it with git on centos. Sorry for the noise.