From 03732763516941c3e30108ce8cccff0a1390a212 Mon Sep 17 00:00:00 2001 From: "Anderson, Craig (ca846m)" Date: Sat, 22 Sep 2018 18:14:09 -0700 Subject: [PATCH] Add file package to sstream-cache image build Deploying Genesis kernel with a matching kernel to what MaaS provisions to other nodes requires starting the container on Genesis and running the `file` command on the boot-kernel in order to determine the kernel version. This PS adds the `file` binary to the image. Change-Id: Idddcc25916ba5b8b015cdde9bfe773443f158273 --- images/sstream-cache/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/images/sstream-cache/Dockerfile b/images/sstream-cache/Dockerfile index 2e0bdba..c12c244 100644 --- a/images/sstream-cache/Dockerfile +++ b/images/sstream-cache/Dockerfile @@ -9,7 +9,8 @@ RUN apt-get -qq update && \ apache2 \ gpgv \ ubuntu-cloudimage-keyring \ - python-certifi --no-install-recommends + python-certifi --no-install-recommends \ + file RUN sstream-mirror --keyring=/usr/share/keyrings/ubuntu-cloudimage-keyring.gpg $IMAGE_SRC \ /var/www/html/maas/images/ephemeral-v3/daily 'arch=amd64' 'release~xenial' --max=1 --progress