Skip to content
Snippets Groups Projects
Commit bdb25eda authored by Christian Berendt's avatar Christian Berendt
Browse files

Add missing apt-get clean in Ubuntu base image

TrivialFix

Change-Id: Ibd4ba9dbe2cadb304e027b60d5b7378416719d12
parent 28b80a08
No related branches found
No related tags found
No related merge requests found
...@@ -208,7 +208,9 @@ ENV DEBIAN_FRONTEND noninteractive ...@@ -208,7 +208,9 @@ ENV DEBIAN_FRONTEND noninteractive
COPY dpkg_reducing_disk_footprint /etc/dpkg/dpkg.cfg.d/dpkg_reducing_disk_footprint COPY dpkg_reducing_disk_footprint /etc/dpkg/dpkg.cfg.d/dpkg_reducing_disk_footprint
# Need apt-transport-https BEFORE we replace sources.list or apt-get update wont work! # Need apt-transport-https BEFORE we replace sources.list or apt-get update wont work!
RUN apt-get update && apt-get -y install --no-install-recommends apt-transport-https ca-certificates RUN apt-get update \
&& apt-get -y install --no-install-recommends apt-transport-https ca-certificates \
&& apt-get clean
COPY sources.list.{{ base_distro }} /etc/apt/sources.list COPY sources.list.{{ base_distro }} /etc/apt/sources.list
COPY apt_preferences.{{ base_distro }} /etc/apt/preferences COPY apt_preferences.{{ base_distro }} /etc/apt/preferences
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment