Skip to content
This repository was archived by the owner on Nov 7, 2022. It is now read-only.

Commit 04bf35f

Browse files
committed
Keep postgres static libraries in Alpine images
Do not remove static postgres libraries from Alpine based images. This add near 1.4MB to image size, but allow to complie some extentions like repmgr without errors
1 parent 9abfeee commit 04bf35f

File tree

7 files changed

+0
-7
lines changed

7 files changed

+0
-7
lines changed

10/alpine/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ RUN set -eux; \
130130
/usr/local/share/doc \
131131
/usr/local/share/man \
132132
; \
133-
find /usr/local -name '*.a' -delete; \
134133
\
135134
postgres --version
136135

11/alpine/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ RUN set -eux; \
132132
/usr/local/share/doc \
133133
/usr/local/share/man \
134134
; \
135-
find /usr/local -name '*.a' -delete; \
136135
\
137136
postgres --version
138137

12/alpine/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ RUN set -eux; \
132132
/usr/local/share/doc \
133133
/usr/local/share/man \
134134
; \
135-
find /usr/local -name '*.a' -delete; \
136135
\
137136
postgres --version
138137

13/alpine/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ RUN set -eux; \
132132
/usr/local/share/doc \
133133
/usr/local/share/man \
134134
; \
135-
find /usr/local -name '*.a' -delete; \
136135
\
137136
postgres --version
138137

9.5/alpine/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ RUN set -eux; \
128128
/usr/local/share/doc \
129129
/usr/local/share/man \
130130
; \
131-
find /usr/local -name '*.a' -delete; \
132131
\
133132
postgres --version
134133

9.6/alpine/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ RUN set -eux; \
128128
/usr/local/share/doc \
129129
/usr/local/share/man \
130130
; \
131-
find /usr/local -name '*.a' -delete; \
132131
\
133132
postgres --version
134133

Dockerfile-alpine.template

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ RUN set -eux; \
132132
/usr/local/share/doc \
133133
/usr/local/share/man \
134134
; \
135-
find /usr/local -name '*.a' -delete; \
136135
\
137136
postgres --version
138137

0 commit comments

Comments
 (0)