fix: add pg_cron

This commit is contained in:
RaviTeja Buddabathuni (rbuddaba) 2022-03-15 15:04:44 -05:00
parent a630c5db7d
commit 36ef1e478b

View File

@ -43,8 +43,8 @@ RUN apk update \
&& sed -i -e "s/^shared_preload_libraries.*/shared_preload_libraries = 'timescaledb,pg_cron'/g" /usr/local/share/postgresql/postgresql.conf.sample
## Install pg_cron
RUN wget -O /ws/pg_cron.tgz https://github.com/citusdata/pg_cron/archive/v$PG_CRON_VERSION.tar.gz
RUN tar xvzf /ws/pg_cron.tgz && cd /ws/pg_cron-1.3.0/ \
RUN wget -O /ws/pg_cron.tgz https://github.com/citusdata/pg_cron/archive/v$PG_CRON_VERSION.tar.gz \
&& tar xvzf /ws/pg_cron.tgz && cd /ws/pg_cron-1.3.0/ \
&& sed -i.bak -e 's/-Werror//g' Makefile \
&& sed -i.bak -e 's/-Wno-implicit-fallthrough//g' Makefile \
&& make && make install \