add dockerhub build with count-bits pgsql
parent
93ddc6684a
commit
39680720f2
@ -0,0 +1,15 @@
|
|||||||
|
FROM postgres:11
|
||||||
|
EXPOSE 5432
|
||||||
|
|
||||||
|
RUN apt-get update
|
||||||
|
RUN apt-get -y install git libpq-dev postgresql-server-dev-11
|
||||||
|
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
|
||||||
|
|
@ -0,0 +1 @@
|
|||||||
|
cd /opt/count-bits && make create_functions
|
Loading…
Reference in New Issue