diff options
| author | Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | 2020-01-10 16:53:20 +0100 |
|---|---|---|
| committer | Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | 2020-01-10 17:42:07 +0100 |
| commit | 3ecb047b9521056c225c639b90dc2a79f567aafb (patch) | |
| tree | 1f0f9eed8a9038164a2dc9efc0ec9b7c9d568b61 /docker/base | |
| parent | 360d335e94246d7095672c5aa92b59afa380a059 (diff) | |
| download | kolla-3ecb047b9521056c225c639b90dc2a79f567aafb.tar.gz kolla-3ecb047b9521056c225c639b90dc2a79f567aafb.zip | |
base: use install_packages() macro to install packages
Change-Id: I4cde9ca95dabf728a83ac338f7964911ac52f65a
Diffstat (limited to 'docker/base')
| -rw-r--r-- | docker/base/Dockerfile.j2 | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/docker/base/Dockerfile.j2 b/docker/base/Dockerfile.j2 index 48522109d..82b739c1d 100644 --- a/docker/base/Dockerfile.j2 +++ b/docker/base/Dockerfile.j2 @@ -387,12 +387,8 @@ RUN apt-get update \ && locale-gen "$LANG" \ && apt-get -y upgrade \ && apt-get -y dist-upgrade \ - && apt-get -y install --no-install-recommends \ - {%- for package in base_apt_packages | customizable('apt_packages') %} - {{ package }} \ - {%- endfor %} - && apt-get clean \ - && rm -rf /var/lib/apt/lists/* + && {{ macros.install_packages(base_apt_packages | customizable('apt_packages'), True) }} + {% endblock %} # FIXME(mgoddard): Some images, including Horizon, depend on Ubuntu having a |
