]> git.openstreetmap.org Git - chef.git/commitdiff
kitchen: pre-cache frequent apt packages in container
authorGrant Slater <github@firefishy.com>
Sun, 4 Dec 2022 20:08:54 +0000 (20:08 +0000)
committerGrant Slater <github@firefishy.com>
Sun, 4 Dec 2022 20:27:13 +0000 (20:27 +0000)
.kitchen.yml

index 830cc04c5fec876a7ace08a9f9918dab986c28f6..34a4ccb040b5d7e539029f22b1f7aeb6b1bcd89c 100644 (file)
@@ -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