2
0
mirror of https://github.com/linka-cloud/d2vm.git synced 2025-06-24 22:22:26 +00:00

templates: clean package manager cache

Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
This commit is contained in:
2023-09-14 12:42:52 +02:00
parent d54b3f9a2c
commit 1934915ae8
3 changed files with 9 additions and 0 deletions

View File

@ -74,3 +74,6 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends cr
RUN mv $(find /boot -name 'vmlinuz-*') /boot/vmlinuz && \
mv $(find /boot -name 'initrd.img-*') /boot/initrd.img
{{- end }}
RUN apt-get clean && \
rm -rf /var/lib/apt/lists/*