From: Grant Slater Date: Sun, 4 Dec 2022 20:08:54 +0000 (+0000) Subject: kitchen: pre-cache frequent apt packages in container X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/d06665a94ae166c33278bfd10027c7b835224a2a kitchen: pre-cache frequent apt packages in container --- 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