From f1464240f3bf0b52ddb1828317dcea54dbc0e256 Mon Sep 17 00:00:00 2001 From: Ryan Voots Date: Sat, 10 May 2025 13:50:07 -0400 Subject: [PATCH] add timescaledb-tune --- general/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/general/Dockerfile b/general/Dockerfile index 30b496d..3ac4b1a 100644 --- a/general/Dockerfile +++ b/general/Dockerfile @@ -24,13 +24,15 @@ RUN apt update && apt install -y build-essential flex bison git yacc cmake \ libxml2-dev \ libxml2-utils \ protobuf-c-compiler \ - xsltproc + xsltproc \ + golang RUN mkdir -p /build/ RUN git clone https://github.com/timescale/timescaledb --depth=1 --recursive -b ${TIMESCALEDB_VERSION} /build/timescale/ WORKDIR /build/timescale/ RUN ./bootstrap RUN cd build && make -j && make install +RUN GOBIN=/usr/local/bin/ go install github.com/timescale/timescaledb-tune/cmd/timescaledb-tune@main # TODO UPDATE PGCONFIG # shared_preload_libraries = 'timescaledb'