diff options
author | Aki <please@ignore.pl> | 2023-01-29 14:18:22 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2023-01-29 14:18:22 +0100 |
commit | 11f344f099470c27a3bd8fef8bedfcd40aa3b4ea (patch) | |
tree | b4b739de5c6f3c22a1accd54dfde3456ec03f3fa | |
parent | 089108ca45b0f3a1ea6cee7015f975f503e7e351 (diff) | |
download | docker-ignore-11f344f099470c27a3bd8fef8bedfcd40aa3b4ea.zip docker-ignore-11f344f099470c27a3bd8fef8bedfcd40aa3b4ea.tar.gz docker-ignore-11f344f099470c27a3bd8fef8bedfcd40aa3b4ea.tar.bz2 |
Image is no longer updated to avoid unnecessary cache sizes
-rw-r--r-- | archlinux-ignore/README | 5 | ||||
-rwxr-xr-x | archlinux-ignore/setup.sh | 6 |
2 files changed, 4 insertions, 7 deletions
diff --git a/archlinux-ignore/README b/archlinux-ignore/README index 1e11ee1..3a8e5d5 100644 --- a/archlinux-ignore/README +++ b/archlinux-ignore/README @@ -11,6 +11,9 @@ After this you can update and install packages as needed: # pacman -Sy archlinux-keyring && pacman -Su # pacman -S butler-git -If you want to distribute the image afterwards then you should strip the lsign key from the image: +If you want to distribute the image afterwards then you should strip the lsign key from the image. Additionally, you may +want to clear cache and sync: # rm -rf /etc/pacman.d/gnupg + # rm -f /var/cache/pacman/pkg/*.zst{,.sig} + # rm -f /var/lib/pacman/sync/* diff --git a/archlinux-ignore/setup.sh b/archlinux-ignore/setup.sh index f5ffdb6..f8c2bb9 100755 --- a/archlinux-ignore/setup.sh +++ b/archlinux-ignore/setup.sh @@ -13,9 +13,3 @@ curl -s https://ftp.ignore.pl/pacman/public.gpg >$keyrings/ignore.gpg cat >$keyrings/ignore-trusted <<trusted E4CA8487EDD0C757273330BD689F26A2F234129A:6: trusted -pacman-key --init -pacman-key --populate -pacman -Sy --noconfirm archlinux-keyring -pacman -Su --noconfirm -rm -rf /etc/pacman.d/gnupg -rm /var/cache/pacman/pkg/*.zst{,.sig} |