forked from images/gitea-image-forge
Remove documentation for all installed to distroless-builder packages
This commit is contained in:
@ -3,6 +3,7 @@ FROM {{ registry }}{{ alt_image }}:{{ branch }}
|
|||||||
MAINTAINER alt-cloud
|
MAINTAINER alt-cloud
|
||||||
|
|
||||||
RUN echo %_excludedocs 1 >> /etc/rpm/macros
|
RUN echo %_excludedocs 1 >> /etc/rpm/macros
|
||||||
|
RUN rpm -qalds | awk '/^normal/{print $2}' | xargs rm -rf
|
||||||
{{ install_pakages("python3", "glibc-utils") }}
|
{{ install_pakages("python3", "glibc-utils") }}
|
||||||
WORKDIR /usr/src/distroless
|
WORKDIR /usr/src/distroless
|
||||||
RUN mkdir file-lists
|
RUN mkdir file-lists
|
||||||
|
Reference in New Issue
Block a user