There are 3 updates, 1 comment.
 
 
XWiki Build Images / cid:jira-generated-image-avatar-885ba11c-c4cb-4d35-933e-d9609297e927 XDOCKBUILD-27 Open

Use apt-get everywhere and cleanup post install

 
View issue   ยท   Add comment
 

3 updates

 
cid:jira-generated-image-avatar-956dfc0a-5125-43c1-8150-e9765b329484 Changes by Manuel Leduc on 11/Mar/26 12:05
 
Description: The current docker build uses a mix of apt and apt-get.

From online resource, the best practice seems to be using apt-get everywhere (see for instance [https://protsenko.dev/infrastructure-security/avoid-using-apt/).]
Also, intermediate artifacts are currently not cleanup after each install, making the size of intermediate layers
largers larger than it could be.

Note: while this is a best practice, this is not actually impacting the overall image size (3.6 GB at the time of writing).
Assignee: Manuel Leduc
Pull Request Status: Awaiting Committer feedback
 
 

1 comment

 
cid:jira-generated-image-avatar-956dfc0a-5125-43c1-8150-e9765b329484 Manuel Leduc on 11/Mar/26 12:12
 

PR https://github.com/xwiki/xwiki-docker-build/pull/46