File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -39,11 +39,15 @@ RUN echo 'deb https://packagecloud.io/timescale/timescaledb/debian/' `env -i bas
39
39
&& apt-get update \
40
40
&& apt-get install -y timescaledb-postgresql-${PG_SERVER_VERSION}
41
41
42
+
42
43
# add citus extension
43
- RUN curl -s https://install.citusdata.com/community/deb.sh | bash \
44
- && apt-get install -y postgresql-${PG_SERVER_VERSION}-citus-${CITUS_VERSION} \
44
+ RUN if [ "${PG_SERVER_VERSION}" = "12" ] || [ "${PG_SERVER_VERSION}" = "11" ]; then \
45
+ # only 11 and 12 versions are supported by citus
46
+ curl -s https://install.citusdata.com/community/deb.sh | bash \
47
+ && apt-get install -y postgresql-${PG_SERVER_VERSION}-citus-${CITUS_VERSION} \
45
48
postgresql-${PG_SERVER_VERSION}-hll=2.14.citus-1 \
46
- postgresql-${PG_SERVER_VERSION}-topn=2.3.0
49
+ postgresql-${PG_SERVER_VERSION}-topn=2.3.0; \
50
+ fi
47
51
# add powa extension
48
52
RUN apt-get install postgresql-${PG_SERVER_VERSION}-powa
49
53
You can’t perform that action at this time.
0 commit comments