summaryrefslogtreecommitdiff
path: root/base-image/base-image.yml
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-04-20 20:11:31 +0300
committerLars Wirzenius <liw@liw.fi>2022-04-20 20:41:35 +0300
commitb93845c3766d0afa3ab5052ddc5c644ae1652d4a (patch)
tree6cae2d249dd9f89d706c8a5e317d64ca9dbdc784 /base-image/base-image.yml
parent4640aeaa7cec897a32302f4484054a4d6507b920 (diff)
downloadansibleness-b93845c3766d0afa3ab5052ddc5c644ae1652d4a.tar.gz
perf: make base image smaller
Don't installed recommended packages, don't install locales-all, and clean the apt cache. Sponsored-by: author drop locale-all, clean apt cache Sponsored-by: author
Diffstat (limited to 'base-image/base-image.yml')
-rw-r--r--base-image/base-image.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/base-image/base-image.yml b/base-image/base-image.yml
index 5f72de6..44357d7 100644
--- a/base-image/base-image.yml
+++ b/base-image/base-image.yml
@@ -4,7 +4,9 @@
name:
- cloud-init
- openssh-server
- - locales-all
+ install_recommends: no
+ - shell: |
+ apt clean
vars:
hostname: bullseye
ansible_python_interpreter: /usr/bin/python3