mirror of
https://github.com/YunoHost/lxd_img_builder.git
synced 2024-09-03 19:56:55 +02:00
zzzzz
This commit is contained in:
parent
68b24dfd08
commit
add3571b62
1 changed files with 2 additions and 2 deletions
|
@ -132,7 +132,7 @@ function rebuild_build_and_lint()
|
|||
$IN_CONTAINER /bin/bash -c "rm -rf /usr/share/locale"
|
||||
$IN_CONTAINER /bin/bash -c "rm -rf /usr/share/man"
|
||||
$IN_CONTAINER /bin/bash -c "rm -rf /var/lib/apt/lists/*"
|
||||
$IN_CONTAINER /bin/bash -c "apt remove vim --purge --autoremove || true"
|
||||
$IN_CONTAINER /bin/bash -c "apt remove vim --purge --autoremove --assume-yes || true"
|
||||
|
||||
# Disable apt annoyances
|
||||
$IN_CONTAINER systemctl -q disable apt-daily.timer --now
|
||||
|
@ -220,7 +220,7 @@ function rebuild()
|
|||
$IN_CONTAINER /bin/bash -c "rm -rf /usr/share/locale"
|
||||
$IN_CONTAINER /bin/bash -c "rm -rf /usr/share/man"
|
||||
$IN_CONTAINER /bin/bash -c "rm -rf /var/lib/apt/lists/*"
|
||||
$IN_CONTAINER /bin/bash -c "apt remove vim --purge --autoremove || true"
|
||||
$IN_CONTAINER /bin/bash -c "apt remove vim --purge --autoremove --assume-yes || true"
|
||||
|
||||
# Disable services that are useless in the vast majority of cases to try to improve perfs
|
||||
$IN_CONTAINER systemctl -q disable rspamd --now || true
|
||||
|
|
Loading…
Reference in a new issue