Do not store documentation files in distroless-builder

This commit is contained in:
Mikhail Gordeev 2023-02-09 04:22:56 +03:00
parent 61bcc5c283
commit a9e8c9fc1d

View File

@ -1,7 +1,9 @@
FROM {{ registry }}{{ organization }}/python:{{ branch }}
FROM {{ registry }}{{ alt_image }}:{{ branch }}
MAINTAINER alt-cloud
RUN echo %_excludedocs 1 >> /etc/rpm/macros
{{ install_pakages("python3") }}
WORKDIR /usr/src/distroless
RUN mkdir file-lists
RUN useradd -m nonroot