1
0
Fork 0
mirror of https://git.tt-rss.org/fox/ttrss-docker-compose synced 2025-06-13 16:09:51 +02:00
ttrss-docker-compose/db/Dockerfile
2021-02-15 20:06:02 +03:00

15 lines
400 B
Docker

FROM postgres:13
EXPOSE 5432
RUN apt-get update
RUN apt-get -y install git libpq-dev postgresql-server-dev-13
RUN apt-get -y install gcc make
COPY init-count-bits.sh /docker-entrypoint-initdb.d/
RUN git clone https://github.com/sldab/count-bits.git /opt/count-bits && \
cd /opt/count-bits && \
make && \
sed -i.bak 's/create_functions: install/create_functions:/' Makefile && \
make install