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
This commit is contained in:
Anderson, Craig (ca846m) 2018-09-22 18:14:09 -07:00
parent 9c2686bea7
commit 0373276351
1 changed files with 2 additions and 1 deletions

View File

@ -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