Disable recommends in python-base and python-builder
We disable these on our VM images, so might as well make our container images follow suit. Could make them a smidge smaller. Also do it in the gerrit-base image. Change-Id: Iba60cf5c7009d57c4910f9e4464aff9231598ad6
This commit is contained in:
parent
f27825d44e
commit
643623ba8a
@ -20,6 +20,8 @@ RUN assemble
|
||||
|
||||
FROM docker.io/library/openjdk:8
|
||||
|
||||
RUN echo 'APT::Install-Recommends "0";' > /etc/apt/apt.conf.d/95disable-recommends
|
||||
|
||||
# libcgi-pm-perl is for gitweb
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y dumb-init python3-launchpadlib python3-distutils \
|
||||
|
@ -15,6 +15,8 @@
|
||||
|
||||
FROM docker.io/library/python:3.7-slim
|
||||
|
||||
RUN echo 'APT::Install-Recommends "0";' > /etc/apt/apt.conf.d/95disable-recommends
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y dumb-init libjemalloc2 \
|
||||
&& apt-get clean \
|
||||
|
@ -24,6 +24,8 @@ RUN equivs-build /tmp/python3-dev.control
|
||||
|
||||
FROM docker.io/library/python:3.7-slim
|
||||
|
||||
RUN echo 'APT::Install-Recommends "0";' > /etc/apt/apt.conf.d/95disable-recommends
|
||||
|
||||
COPY --from=fake-python /tmp/python3-dev_4.0.0_all.deb /tmp/python3-dev_4.0.0_all.deb
|
||||
COPY scripts/assemble /usr/local/bin/assemble
|
||||
COPY scripts/get-extras-packages /usr/local/bin/get-extras-packages
|
||||
|
Loading…
x
Reference in New Issue
Block a user