This commit is contained in:
parent
ab0dd78505
commit
e2dd2cc483
@ -34,12 +34,7 @@ RUN apk add --no-cache \
|
|||||||
binutils \
|
binutils \
|
||||||
binutils-dev \
|
binutils-dev \
|
||||||
pipx \
|
pipx \
|
||||||
openssl-dev \
|
|
||||||
sqlite-dev \
|
|
||||||
libpq-dev \
|
|
||||||
mariadb-connector-c-dev \
|
|
||||||
ninja \
|
ninja \
|
||||||
util-linux-dev \
|
|
||||||
util-linux-static \
|
util-linux-static \
|
||||||
perl
|
perl
|
||||||
|
|
||||||
@ -92,8 +87,8 @@ RUN curl -LO https://ftp.postgresql.org/pub/source/v${POSTGRES_VERSION}/postgres
|
|||||||
tar xzf postgresql-${POSTGRES_VERSION}.tar.gz && \
|
tar xzf postgresql-${POSTGRES_VERSION}.tar.gz && \
|
||||||
cd postgresql-${POSTGRES_VERSION} && \
|
cd postgresql-${POSTGRES_VERSION} && \
|
||||||
./configure --prefix=/usr/local/pgsql --without-readline --without-zlib --without-icu --enable-static --disable-shared && \
|
./configure --prefix=/usr/local/pgsql --without-readline --without-zlib --without-icu --enable-static --disable-shared && \
|
||||||
cd src/interfaces/libpq && \
|
|
||||||
make -j$(nproc) && \
|
make -j$(nproc) && \
|
||||||
|
make -C src/interfaces/libpq install && \
|
||||||
make install && \
|
make install && \
|
||||||
cd / && rm -rf /tmp/postgresql-${POSTGRES_VERSION} /tmp/postgresql-${POSTGRES_VERSION}.tar.gz
|
cd / && rm -rf /tmp/postgresql-${POSTGRES_VERSION} /tmp/postgresql-${POSTGRES_VERSION}.tar.gz
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user