Skip to content

Commit 4be1b0f

Browse files
committed
minor fix
Signed-off-by: Piyush Raj <[email protected]>
1 parent b360c8b commit 4be1b0f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ RUN set -ex \
7474
&& sed -r -i "s/[#]*\s*(shared_preload_libraries)\s*=\s*'(.*)'/\1 = 'timescaledb,\2'/;s/,'/'/" /usr/local/share/postgresql/postgresql.conf.sample
7575

7676
# Update to shared_preload_libraries
77-
RUN echo "shared_preload_libraries = 'citus,timescaledb,pg_stat_statements'" >> /usr/local/share/postgresql/postgresql.conf.sample
77+
RUN echo "shared_preload_libraries = 'citus,timescaledb,pg_stat_statements,pgautofailover'" >> /usr/local/share/postgresql/postgresql.conf.sample
7878

7979
# Adding PG Vector
8080

@@ -309,8 +309,6 @@ RUN set -eux \
309309
&& cd /tmp/pg_auto_failover-${PG_AUTO_FAILOVER_VERSION} \
310310
&& make \
311311
&& make install \
312-
&& sed -i "s/\(shared_preload_libraries = '[^']*\)/\1,pgautofailover/" /usr/local/share/postgresql/postgresql.conf.sample \
313-
314312
# clean
315313
&& cd / \
316314
&& rm -rf /tmp/pg_auto_failove-${PG_AUTO_FAILOVER_VERSION} /tmp/pg_auto_failove-${PG_AUTO_FAILOVER_VERSION}.zip \

0 commit comments

Comments
 (0)