1
0
mirror of https://github.com/docker-library/postgres.git synced 2025-11-17 13:02:40 +03:00

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
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")