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