Build plperl, plpython and pltcl in alpine images
This commit is contained in:
parent
a11e908fb5
commit
5d9e5a4638
|
|
@ -58,10 +58,9 @@ RUN set -eux; \
|
|||
perl-utils \
|
||||
# configure: error: Perl module IPC::Run is required to run TAP tests
|
||||
perl-ipc-run \
|
||||
# perl-dev \
|
||||
# python-dev \
|
||||
# python3-dev \
|
||||
# tcl-dev \
|
||||
perl-dev \
|
||||
python3-dev \
|
||||
tcl-dev \
|
||||
util-linux-dev \
|
||||
zlib-dev \
|
||||
# https://www.postgresql.org/docs/10/static/release-10.html#id-1.11.6.9.5.13
|
||||
|
|
@ -97,14 +96,12 @@ RUN set -eux; \
|
|||
--prefix=/usr/local \
|
||||
--with-includes=/usr/local/include \
|
||||
--with-libraries=/usr/local/lib \
|
||||
\
|
||||
# these make our image abnormally large (at least 100MB larger), which seems uncouth for an "Alpine" (ie, "small") variant :)
|
||||
# --with-krb5 \
|
||||
# --with-gssapi \
|
||||
# --with-ldap \
|
||||
# --with-tcl \
|
||||
# --with-perl \
|
||||
# --with-python \
|
||||
--with-tcl \
|
||||
--with-perl \
|
||||
--with-python \
|
||||
# --with-pam \
|
||||
--with-openssl \
|
||||
--with-libxml \
|
||||
|
|
@ -120,6 +117,9 @@ RUN set -eux; \
|
|||
| tr ',' '\n' \
|
||||
| sort -u \
|
||||
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
|
||||
# Remove plperl, plpython and pltcl dependencies by default to save image size
|
||||
# To use the pl extensions, those have to be installed in a derived image
|
||||
| grep -v -e perl -e python -e tcl \
|
||||
)"; \
|
||||
apk add --no-cache --virtual .postgresql-rundeps \
|
||||
$runDeps \
|
||||
|
|
|
|||
|
|
@ -59,10 +59,9 @@ RUN set -eux; \
|
|||
perl-utils \
|
||||
# configure: error: Perl module IPC::Run is required to run TAP tests
|
||||
perl-ipc-run \
|
||||
# perl-dev \
|
||||
# python-dev \
|
||||
# python3-dev \
|
||||
# tcl-dev \
|
||||
perl-dev \
|
||||
python3-dev \
|
||||
tcl-dev \
|
||||
util-linux-dev \
|
||||
zlib-dev \
|
||||
# https://www.postgresql.org/docs/10/static/release-10.html#id-1.11.6.9.5.13
|
||||
|
|
@ -98,14 +97,12 @@ RUN set -eux; \
|
|||
--prefix=/usr/local \
|
||||
--with-includes=/usr/local/include \
|
||||
--with-libraries=/usr/local/lib \
|
||||
\
|
||||
# these make our image abnormally large (at least 100MB larger), which seems uncouth for an "Alpine" (ie, "small") variant :)
|
||||
# --with-krb5 \
|
||||
# --with-gssapi \
|
||||
# --with-ldap \
|
||||
# --with-tcl \
|
||||
# --with-perl \
|
||||
# --with-python \
|
||||
--with-tcl \
|
||||
--with-perl \
|
||||
--with-python \
|
||||
# --with-pam \
|
||||
--with-openssl \
|
||||
--with-libxml \
|
||||
|
|
@ -122,6 +119,9 @@ RUN set -eux; \
|
|||
| tr ',' '\n' \
|
||||
| sort -u \
|
||||
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
|
||||
# Remove plperl, plpython and pltcl dependencies by default to save image size
|
||||
# To use the pl extensions, those have to be installed in a derived image
|
||||
| grep -v -e perl -e python -e tcl \
|
||||
)"; \
|
||||
apk add --no-cache --virtual .postgresql-rundeps \
|
||||
$runDeps \
|
||||
|
|
|
|||
|
|
@ -59,10 +59,9 @@ RUN set -eux; \
|
|||
perl-utils \
|
||||
# configure: error: Perl module IPC::Run is required to run TAP tests
|
||||
perl-ipc-run \
|
||||
# perl-dev \
|
||||
# python-dev \
|
||||
# python3-dev \
|
||||
# tcl-dev \
|
||||
perl-dev \
|
||||
python3-dev \
|
||||
tcl-dev \
|
||||
util-linux-dev \
|
||||
zlib-dev \
|
||||
# https://www.postgresql.org/docs/10/static/release-10.html#id-1.11.6.9.5.13
|
||||
|
|
@ -98,14 +97,12 @@ RUN set -eux; \
|
|||
--prefix=/usr/local \
|
||||
--with-includes=/usr/local/include \
|
||||
--with-libraries=/usr/local/lib \
|
||||
\
|
||||
# these make our image abnormally large (at least 100MB larger), which seems uncouth for an "Alpine" (ie, "small") variant :)
|
||||
# --with-krb5 \
|
||||
# --with-gssapi \
|
||||
# --with-ldap \
|
||||
# --with-tcl \
|
||||
# --with-perl \
|
||||
# --with-python \
|
||||
--with-tcl \
|
||||
--with-perl \
|
||||
--with-python \
|
||||
# --with-pam \
|
||||
--with-openssl \
|
||||
--with-libxml \
|
||||
|
|
@ -122,6 +119,9 @@ RUN set -eux; \
|
|||
| tr ',' '\n' \
|
||||
| sort -u \
|
||||
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
|
||||
# Remove plperl, plpython and pltcl dependencies by default to save image size
|
||||
# To use the pl extensions, those have to be installed in a derived image
|
||||
| grep -v -e perl -e python -e tcl \
|
||||
)"; \
|
||||
apk add --no-cache --virtual .postgresql-rundeps \
|
||||
$runDeps \
|
||||
|
|
|
|||
|
|
@ -59,10 +59,9 @@ RUN set -eux; \
|
|||
perl-utils \
|
||||
# configure: error: Perl module IPC::Run is required to run TAP tests
|
||||
perl-ipc-run \
|
||||
# perl-dev \
|
||||
# python-dev \
|
||||
# python3-dev \
|
||||
# tcl-dev \
|
||||
perl-dev \
|
||||
python3-dev \
|
||||
tcl-dev \
|
||||
util-linux-dev \
|
||||
zlib-dev \
|
||||
# https://www.postgresql.org/docs/10/static/release-10.html#id-1.11.6.9.5.13
|
||||
|
|
@ -98,14 +97,12 @@ RUN set -eux; \
|
|||
--prefix=/usr/local \
|
||||
--with-includes=/usr/local/include \
|
||||
--with-libraries=/usr/local/lib \
|
||||
\
|
||||
# these make our image abnormally large (at least 100MB larger), which seems uncouth for an "Alpine" (ie, "small") variant :)
|
||||
# --with-krb5 \
|
||||
# --with-gssapi \
|
||||
# --with-ldap \
|
||||
# --with-tcl \
|
||||
# --with-perl \
|
||||
# --with-python \
|
||||
--with-tcl \
|
||||
--with-perl \
|
||||
--with-python \
|
||||
# --with-pam \
|
||||
--with-openssl \
|
||||
--with-libxml \
|
||||
|
|
@ -122,6 +119,9 @@ RUN set -eux; \
|
|||
| tr ',' '\n' \
|
||||
| sort -u \
|
||||
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
|
||||
# Remove plperl, plpython and pltcl dependencies by default to save image size
|
||||
# To use the pl extensions, those have to be installed in a derived image
|
||||
| grep -v -e perl -e python -e tcl \
|
||||
)"; \
|
||||
apk add --no-cache --virtual .postgresql-rundeps \
|
||||
$runDeps \
|
||||
|
|
|
|||
|
|
@ -59,10 +59,9 @@ RUN set -eux; \
|
|||
perl-utils \
|
||||
# configure: error: Perl module IPC::Run is required to run TAP tests
|
||||
perl-ipc-run \
|
||||
# perl-dev \
|
||||
# python-dev \
|
||||
# python3-dev \
|
||||
# tcl-dev \
|
||||
perl-dev \
|
||||
python3-dev \
|
||||
tcl-dev \
|
||||
util-linux-dev \
|
||||
zlib-dev \
|
||||
# https://www.postgresql.org/docs/10/static/release-10.html#id-1.11.6.9.5.13
|
||||
|
|
@ -100,14 +99,12 @@ RUN set -eux; \
|
|||
--prefix=/usr/local \
|
||||
--with-includes=/usr/local/include \
|
||||
--with-libraries=/usr/local/lib \
|
||||
\
|
||||
# these make our image abnormally large (at least 100MB larger), which seems uncouth for an "Alpine" (ie, "small") variant :)
|
||||
# --with-krb5 \
|
||||
# --with-gssapi \
|
||||
# --with-ldap \
|
||||
# --with-tcl \
|
||||
# --with-perl \
|
||||
# --with-python \
|
||||
--with-tcl \
|
||||
--with-perl \
|
||||
--with-python \
|
||||
# --with-pam \
|
||||
--with-openssl \
|
||||
--with-libxml \
|
||||
|
|
@ -125,6 +122,9 @@ RUN set -eux; \
|
|||
| tr ',' '\n' \
|
||||
| sort -u \
|
||||
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
|
||||
# Remove plperl, plpython and pltcl dependencies by default to save image size
|
||||
# To use the pl extensions, those have to be installed in a derived image
|
||||
| grep -v -e perl -e python -e tcl \
|
||||
)"; \
|
||||
apk add --no-cache --virtual .postgresql-rundeps \
|
||||
$runDeps \
|
||||
|
|
|
|||
|
|
@ -58,10 +58,9 @@ RUN set -eux; \
|
|||
perl-utils \
|
||||
# configure: error: Perl module IPC::Run is required to run TAP tests
|
||||
perl-ipc-run \
|
||||
# perl-dev \
|
||||
# python-dev \
|
||||
# python3-dev \
|
||||
# tcl-dev \
|
||||
perl-dev \
|
||||
python3-dev \
|
||||
tcl-dev \
|
||||
util-linux-dev \
|
||||
zlib-dev \
|
||||
; \
|
||||
|
|
@ -95,14 +94,12 @@ RUN set -eux; \
|
|||
--prefix=/usr/local \
|
||||
--with-includes=/usr/local/include \
|
||||
--with-libraries=/usr/local/lib \
|
||||
\
|
||||
# these make our image abnormally large (at least 100MB larger), which seems uncouth for an "Alpine" (ie, "small") variant :)
|
||||
# --with-krb5 \
|
||||
# --with-gssapi \
|
||||
# --with-ldap \
|
||||
# --with-tcl \
|
||||
# --with-perl \
|
||||
# --with-python \
|
||||
--with-tcl \
|
||||
--with-perl \
|
||||
--with-python \
|
||||
# --with-pam \
|
||||
--with-openssl \
|
||||
--with-libxml \
|
||||
|
|
@ -117,6 +114,9 @@ RUN set -eux; \
|
|||
| tr ',' '\n' \
|
||||
| sort -u \
|
||||
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
|
||||
# Remove plperl, plpython and pltcl dependencies by default to save image size
|
||||
# To use the pl extensions, those have to be installed in a derived image
|
||||
| grep -v -e perl -e python -e tcl \
|
||||
)"; \
|
||||
apk add --no-cache --virtual .postgresql-rundeps \
|
||||
$runDeps \
|
||||
|
|
|
|||
|
|
@ -55,10 +55,9 @@ RUN set -eux; \
|
|||
perl-utils \
|
||||
# configure: error: Perl module IPC::Run is required to run TAP tests
|
||||
perl-ipc-run \
|
||||
# perl-dev \
|
||||
# python-dev \
|
||||
# python3-dev \
|
||||
# tcl-dev \
|
||||
perl-dev \
|
||||
python3-dev \
|
||||
tcl-dev \
|
||||
util-linux-dev \
|
||||
zlib-dev \
|
||||
{{ if .major >= 10 then ( -}}
|
||||
|
|
@ -100,14 +99,12 @@ RUN set -eux; \
|
|||
--prefix=/usr/local \
|
||||
--with-includes=/usr/local/include \
|
||||
--with-libraries=/usr/local/lib \
|
||||
\
|
||||
# these make our image abnormally large (at least 100MB larger), which seems uncouth for an "Alpine" (ie, "small") variant :)
|
||||
# --with-krb5 \
|
||||
# --with-gssapi \
|
||||
# --with-ldap \
|
||||
# --with-tcl \
|
||||
# --with-perl \
|
||||
# --with-python \
|
||||
--with-tcl \
|
||||
--with-perl \
|
||||
--with-python \
|
||||
# --with-pam \
|
||||
--with-openssl \
|
||||
--with-libxml \
|
||||
|
|
@ -131,6 +128,9 @@ RUN set -eux; \
|
|||
| tr ',' '\n' \
|
||||
| sort -u \
|
||||
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
|
||||
# Remove plperl, plpython and pltcl dependencies by default to save image size
|
||||
# To use the pl extensions, those have to be installed in a derived image
|
||||
| grep -v -e perl -e python -e tcl \
|
||||
)"; \
|
||||
apk add --no-cache --virtual .postgresql-rundeps \
|
||||
$runDeps \
|
||||
|
|
|
|||
Loading…
Reference in New Issue