You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
400 B
Docker
16 lines
400 B
Docker
FROM postgres:12
|
|
EXPOSE 5432
|
|
|
|
RUN apt-get update
|
|
RUN apt-get -y install git libpq-dev postgresql-server-dev-12
|
|
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
|
|
|