Merge "Disable recommends in python-base and python-builder"

This commit is contained in:
Zuul 2020-03-25 22:18:02 +00:00 committed by Gerrit Code Review
commit 66e6c84e40
3 changed files with 6 additions and 0 deletions

View File

@ -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 \

View File

@ -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 \

View File

@ -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