16 lines
211 B
Docker
16 lines
211 B
Docker
|
|
ARG PG_MAJOR=15
|
||
|
|
|
||
|
|
FROM postgres:$PG_MAJOR-bookworm
|
||
|
|
|
||
|
|
RUN apt update
|
||
|
|
|
||
|
|
RUN apt install -y postgresql-server-dev-$PG_MAJOR
|
||
|
|
|
||
|
|
RUN apt install -y build-essential
|
||
|
|
|
||
|
|
COPY . /build
|
||
|
|
|
||
|
|
WORKDIR /build
|
||
|
|
|
||
|
|
RUN make && make install
|