11 lines
311 B
Docker
11 lines
311 B
Docker
FROM postgres:14
|
|
|
|
RUN apt-get update
|
|
RUN apt-get install -y build-essential
|
|
RUN apt-get install -y postgresql-server-dev-14
|
|
COPY rdns.c Makefile rdns.control rdns--1.0.sql /usr/src/rdns/
|
|
RUN cd /usr/src/rdns/; \
|
|
make; \
|
|
make install; \
|
|
echo "shared_preload_libraries = 'rdns'" >> $PGDATA/postgresql.conf;
|