From d06665a94ae166c33278bfd10027c7b835224a2a Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Sun, 4 Dec 2022 20:08:54 +0000 Subject: [PATCH] kitchen: pre-cache frequent apt packages in container --- .kitchen.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.kitchen.yml b/.kitchen.yml index 830cc04c5..34a4ccb04 100644 --- a/.kitchen.yml +++ b/.kitchen.yml @@ -28,6 +28,8 @@ platforms: pid_one_command: /bin/systemd intermediate_instructions: - RUN /usr/bin/apt-get update -y + # Pre-cache common required system packages + - RUN /usr/bin/apt-get install --download-only -y apache2 libwww-perl munin-node shorewall unattended-upgrades wireguard-tools zsh - name: ubuntu-22.04 driver: image: dokken/ubuntu-22.04 @@ -35,6 +37,8 @@ platforms: pid_one_command: /bin/systemd intermediate_instructions: - RUN /usr/bin/apt-get update -y + # Pre-cache common required system packages + - RUN /usr/bin/apt-get install --download-only -y apache2 libwww-perl munin-node shorewall unattended-upgrades wireguard-tools zsh suites: - name: accounts -- 2.39.5