Ensure the generated image include PG contrib extensions
This commit is contained in:
@@ -2,13 +2,13 @@ FROM ubuntu:noble AS build18
|
||||
RUN apt update && apt upgrade -y && apt install -y wget curl tar build-essential libreadline-dev zlib1g-dev flex bison libicu-dev pkg-config
|
||||
RUN wget https://ftp.postgresql.org/pub/source/v18.0/postgresql-18.0.tar.gz -O pg18.tar.gz
|
||||
RUN tar -xf pg18.tar.gz
|
||||
RUN cd postgresql* && ./configure --prefix=/postgres/18 && make world-bin && make install
|
||||
RUN cd postgresql* && ./configure --prefix=/postgres/18 && make world-bin && make install-world-bin
|
||||
|
||||
FROM ubuntu:noble AS build17
|
||||
RUN apt update && apt upgrade -y && apt install -y wget curl tar build-essential libreadline-dev zlib1g-dev flex bison libicu-dev pkg-config
|
||||
RUN wget https://ftp.postgresql.org/pub/source/v17.6/postgresql-17.6.tar.gz -O pg17.tar.gz
|
||||
RUN tar -xf pg17.tar.gz
|
||||
RUN cd postgresql* && ./configure --prefix=/postgres/17 && make world-bin && make install
|
||||
RUN cd postgresql* && ./configure --prefix=/postgres/17 && make world-bin && make install-world-bin
|
||||
|
||||
|
||||
FROM ubuntu:noble
|
||||
|
Reference in New Issue
Block a user