Merge pull request #243 from infosiftr/man-doc

Remove "doc" and "man" from Alpine images for size
This commit is contained in:
yosifkit 2016-12-21 16:31:17 -08:00 committed by GitHub
commit 069acf6f69
6 changed files with 12 additions and 0 deletions

View File

@ -106,6 +106,8 @@ RUN set -ex \
&& rm -rf \
/usr/src/postgresql \
/usr/local/include/* \
/usr/local/share/doc \
/usr/local/share/man \
&& find /usr/local -name '*.a' -delete
# make the sample config easier to munge (and "correct by default")

View File

@ -106,6 +106,8 @@ RUN set -ex \
&& rm -rf \
/usr/src/postgresql \
/usr/local/include/* \
/usr/local/share/doc \
/usr/local/share/man \
&& find /usr/local -name '*.a' -delete
# make the sample config easier to munge (and "correct by default")

View File

@ -106,6 +106,8 @@ RUN set -ex \
&& rm -rf \
/usr/src/postgresql \
/usr/local/include/* \
/usr/local/share/doc \
/usr/local/share/man \
&& find /usr/local -name '*.a' -delete
# make the sample config easier to munge (and "correct by default")

View File

@ -106,6 +106,8 @@ RUN set -ex \
&& rm -rf \
/usr/src/postgresql \
/usr/local/include/* \
/usr/local/share/doc \
/usr/local/share/man \
&& find /usr/local -name '*.a' -delete
# make the sample config easier to munge (and "correct by default")

View File

@ -106,6 +106,8 @@ RUN set -ex \
&& rm -rf \
/usr/src/postgresql \
/usr/local/include/* \
/usr/local/share/doc \
/usr/local/share/man \
&& find /usr/local -name '*.a' -delete
# make the sample config easier to munge (and "correct by default")

View File

@ -106,6 +106,8 @@ RUN set -ex \
&& rm -rf \
/usr/src/postgresql \
/usr/local/include/* \
/usr/local/share/doc \
/usr/local/share/man \
&& find /usr/local -name '*.a' -delete
# make the sample config easier to munge (and "correct by default")