You've already forked postgres
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:
@@ -106,6 +106,8 @@ RUN set -ex \
|
|||||||
&& rm -rf \
|
&& rm -rf \
|
||||||
/usr/src/postgresql \
|
/usr/src/postgresql \
|
||||||
/usr/local/include/* \
|
/usr/local/include/* \
|
||||||
|
/usr/local/share/doc \
|
||||||
|
/usr/local/share/man \
|
||||||
&& find /usr/local -name '*.a' -delete
|
&& find /usr/local -name '*.a' -delete
|
||||||
|
|
||||||
# make the sample config easier to munge (and "correct by default")
|
# make the sample config easier to munge (and "correct by default")
|
||||||
|
|||||||
@@ -106,6 +106,8 @@ RUN set -ex \
|
|||||||
&& rm -rf \
|
&& rm -rf \
|
||||||
/usr/src/postgresql \
|
/usr/src/postgresql \
|
||||||
/usr/local/include/* \
|
/usr/local/include/* \
|
||||||
|
/usr/local/share/doc \
|
||||||
|
/usr/local/share/man \
|
||||||
&& find /usr/local -name '*.a' -delete
|
&& find /usr/local -name '*.a' -delete
|
||||||
|
|
||||||
# make the sample config easier to munge (and "correct by default")
|
# make the sample config easier to munge (and "correct by default")
|
||||||
|
|||||||
@@ -106,6 +106,8 @@ RUN set -ex \
|
|||||||
&& rm -rf \
|
&& rm -rf \
|
||||||
/usr/src/postgresql \
|
/usr/src/postgresql \
|
||||||
/usr/local/include/* \
|
/usr/local/include/* \
|
||||||
|
/usr/local/share/doc \
|
||||||
|
/usr/local/share/man \
|
||||||
&& find /usr/local -name '*.a' -delete
|
&& find /usr/local -name '*.a' -delete
|
||||||
|
|
||||||
# make the sample config easier to munge (and "correct by default")
|
# make the sample config easier to munge (and "correct by default")
|
||||||
|
|||||||
@@ -106,6 +106,8 @@ RUN set -ex \
|
|||||||
&& rm -rf \
|
&& rm -rf \
|
||||||
/usr/src/postgresql \
|
/usr/src/postgresql \
|
||||||
/usr/local/include/* \
|
/usr/local/include/* \
|
||||||
|
/usr/local/share/doc \
|
||||||
|
/usr/local/share/man \
|
||||||
&& find /usr/local -name '*.a' -delete
|
&& find /usr/local -name '*.a' -delete
|
||||||
|
|
||||||
# make the sample config easier to munge (and "correct by default")
|
# make the sample config easier to munge (and "correct by default")
|
||||||
|
|||||||
@@ -106,6 +106,8 @@ RUN set -ex \
|
|||||||
&& rm -rf \
|
&& rm -rf \
|
||||||
/usr/src/postgresql \
|
/usr/src/postgresql \
|
||||||
/usr/local/include/* \
|
/usr/local/include/* \
|
||||||
|
/usr/local/share/doc \
|
||||||
|
/usr/local/share/man \
|
||||||
&& find /usr/local -name '*.a' -delete
|
&& find /usr/local -name '*.a' -delete
|
||||||
|
|
||||||
# make the sample config easier to munge (and "correct by default")
|
# make the sample config easier to munge (and "correct by default")
|
||||||
|
|||||||
@@ -106,6 +106,8 @@ RUN set -ex \
|
|||||||
&& rm -rf \
|
&& rm -rf \
|
||||||
/usr/src/postgresql \
|
/usr/src/postgresql \
|
||||||
/usr/local/include/* \
|
/usr/local/include/* \
|
||||||
|
/usr/local/share/doc \
|
||||||
|
/usr/local/share/man \
|
||||||
&& find /usr/local -name '*.a' -delete
|
&& find /usr/local -name '*.a' -delete
|
||||||
|
|
||||||
# make the sample config easier to munge (and "correct by default")
|
# make the sample config easier to munge (and "correct by default")
|
||||||
|
|||||||
Reference in New Issue
Block a user