Merge "Disable recommends in python-base and python-builder"
This commit is contained in:
commit
66e6c84e40
@ -20,6 +20,8 @@ RUN assemble
|
|||||||
|
|
||||||
FROM docker.io/library/openjdk:8
|
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
|
# libcgi-pm-perl is for gitweb
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -y dumb-init python3-launchpadlib python3-distutils \
|
&& apt-get install -y dumb-init python3-launchpadlib python3-distutils \
|
||||||
|
@ -15,6 +15,8 @@
|
|||||||
|
|
||||||
FROM docker.io/library/python:3.7-slim
|
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 \
|
RUN apt-get update \
|
||||||
&& apt-get install -y dumb-init libjemalloc2 \
|
&& apt-get install -y dumb-init libjemalloc2 \
|
||||||
&& apt-get clean \
|
&& apt-get clean \
|
||||||
|
@ -24,6 +24,8 @@ RUN equivs-build /tmp/python3-dev.control
|
|||||||
|
|
||||||
FROM docker.io/library/python:3.7-slim
|
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 --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/assemble /usr/local/bin/assemble
|
||||||
COPY scripts/get-extras-packages /usr/local/bin/get-extras-packages
|
COPY scripts/get-extras-packages /usr/local/bin/get-extras-packages
|
||||||
|
Loading…
x
Reference in New Issue
Block a user