Merge "Add missing apt-get clean in Ubuntu base image"
This commit is contained in:
commit
d2cbf54a12
@ -208,7 +208,9 @@ ENV DEBIAN_FRONTEND noninteractive
|
||||
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!
|
||||
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 apt_preferences.{{ base_distro }} /etc/apt/preferences
|
||||
|
Loading…
Reference in New Issue
Block a user