Browse Source

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
Anderson, Craig (ca846m) 7 months ago
parent
commit
0373276351
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      images/sstream-cache/Dockerfile

+ 2
- 1
images/sstream-cache/Dockerfile View File

@@ -9,7 +9,8 @@ RUN apt-get -qq update && \
9 9
                    apache2 \
10 10
                    gpgv \
11 11
                    ubuntu-cloudimage-keyring \
12
-                   python-certifi --no-install-recommends
12
+                   python-certifi --no-install-recommends \
13
+                   file
13 14
 
14 15
 RUN sstream-mirror --keyring=/usr/share/keyrings/ubuntu-cloudimage-keyring.gpg $IMAGE_SRC \
15 16
     /var/www/html/maas/images/ephemeral-v3/daily 'arch=amd64' 'release~xenial' --max=1 --progress

Loading…
Cancel
Save