mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-22 05:31:41 +08:00
* Split SQL into functions and setup. * Remove hash-lib dependency. * Makes code into Postgresql extension.
14 lines
303 B
Docker
14 lines
303 B
Docker
FROM postgres:9.6.1
|
|
|
|
MAINTAINER Matvey Arye
|
|
|
|
ENV PG_MAJOR 9.6
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
build-essential \
|
|
daemontools \
|
|
postgresql-server-dev-$PG_MAJOR \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY extension /extension
|
|
RUN cd /extension && make install && rm -rf /extension |