You've already forked postgres
mirror of
https://github.com/docker-library/postgres.git
synced 2025-11-17 13:02:40 +03:00
Remove "doc" and "man" from Alpine images for size
``` postgres 9.6-alpine-after 83c9edfc60a1 2 minutes ago 32.53 MB postgres 9.6-alpine-before 56409b6ffc83 9 minutes ago 49.43 MB ```
This commit is contained in:
@@ -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")
|
||||
|
||||
@@ -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")
|
||||
|
||||
@@ -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")
|
||||
|
||||
@@ -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")
|
||||
|
||||
@@ -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")
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user