Remove documentation for all installed to distroless-builder packages

This commit is contained in:
Mikhail Gordeev 2023-02-15 17:46:48 +03:00
parent a969ce6632
commit 382b213b86

View File

@ -3,6 +3,7 @@ FROM {{ registry }}{{ alt_image }}:{{ branch }}
MAINTAINER alt-cloud
RUN echo %_excludedocs 1 >> /etc/rpm/macros
RUN rpm -qalds | awk '/^normal/{print $2}' | xargs rm -rf
{{ install_pakages("python3", "glibc-utils") }}
WORKDIR /usr/src/distroless
RUN mkdir file-lists