2024-07-02 18:55:26 UTC
281 MB
llvm15-dev clang15
GOSU_VERSION1.17
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/data
PG_MAJOR13
PG_SHA25642edd415446d33b8c242be76d1ad057531b2264b2e86939339b7075c6e4ec925
PG_VERSION13.15
[#000] sha256:354eb832d25d95145569d0a3a573fb95b8350ee897d5b90a2f67ec1157706ec2 - 1.18% (3.31 MB)
[#001] sha256:2c23a6aeb78637b46e83bf37f01c88bc1a5df43800356950657c98ba3ae01de3 - 0.0% (981 Bytes)
[#002] sha256:94582c6031d52a97826f40f7b6bf467aaaa9b587f5f95a8d9641c351875d0947 - 0.37% (1.04 MB)
[#003] sha256:e109b680c1bd8069ce377274a0eebd580e4982b4632d0db295b5a61eb5b3db1f - 0.0% (172 Bytes)
[#004] sha256:98cb1dd5631e3a204e88a0095abaffbef7bad687354639ed3c08cbeb1157ef37 - 0.0% (116 Bytes)
[#005] sha256:faf0b17cad0add29ee1963ce6ea4fdd7f1f7e346a27754d871d3e944df6bd862 - 32.11% (90.1 MB)
[#006] sha256:9a6ecee78294a1947c51c04e941a4272af86397089084c53c21e1910fa12d5b4 - 0.0% (8.8 KB)
[#007] sha256:12f982b67c9816f56c00d25aacbc08bc875458ef363f9860960dd68cd5f5b04e - 0.0% (128 Bytes)
[#008] sha256:f67af30808633625daf5dce1b93de5879e3a2e0867b75a933e2efd32debf1666 - 0.0% (170 Bytes)
[#009] sha256:65886463f74cd8ebef3358c2b20ef06a952f8f3a072bd6cd0efd25bd52c01500 - 0.0% (5.29 KB)
[#010] sha256:e277e3590c365bc2ce0086806f16738f2640dbd38ee996ee784d034c7c0360ad - 0.0% (184 Bytes)
[#011] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#012] sha256:80067afffd1802cb5b4da8044c91d7917290610fe8c60b70046c2f15c2366be8 - 0.0% (2.18 KB)
[#013] sha256:4dc1e8c0cd93a8db3c3f1e462651e54c2ecf5cbfdd7879823e81041ef5918764 - 2.31% (6.48 MB)
[#014] sha256:190e771c83ffaa3ec0be12b04e132cfb363d0d9933186ef690276636605fa46f - 45.13% (127 MB)
[#015] sha256:a505b7a8fab25e46e74f952413429e5ad794f722776ab0e5d58451a808bc7450 - 15.74% (44.2 MB)
[#016] sha256:8c48378d8206edb64eb4235e9135ceffe6e0ef26566d701b2f1d7a989021416f - 3.16% (8.86 MB)
/bin/sh -c #(nop) ADD file:cd0e8f9dc9e579bd0c884d2c92e4773391bd73d8302d6f4a9bca0796e7ff9a77 in /
2024-06-03 20:57:56 UTC/bin/sh -c #(nop) CMD ["/bin/sh"]
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; addgroup -g 70 -S postgres; adduser -u 70 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; mkdir -p /var/lib/postgresql; chown -R postgres:postgres /var/lib/postgresql # buildkit
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache --virtual .gosu-deps ca-certificates dpkg gnupg ; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; apk del --no-network .gosu-deps; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; ln -svf gosu /usr/local/bin/su-exec; su-exec nobody true # backwards compatibility (removed in PostgreSQL 17+) # buildkit
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=13
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=13.15
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=42edd415446d33b8c242be76d1ad057531b2264b2e86939339b7075c6e4ec925
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm15-dev clang15
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; wget -O postgresql.tar.bz2 "https://ftp.postgresql.org/pub/source/v$PG_VERSION/postgresql-$PG_VERSION.tar.bz2"; echo "$PG_SHA256 *postgresql.tar.bz2" | sha256sum -c -; mkdir -p /usr/src/postgresql; tar --extract --file postgresql.tar.bz2 --directory /usr/src/postgresql --strip-components 1 ; rm postgresql.tar.bz2; apk add --no-cache --virtual .build-deps $DOCKER_PG_LLVM_DEPS bison coreutils dpkg-dev dpkg flex g++ gcc krb5-dev libc-dev libedit-dev libxml2-dev libxslt-dev linux-headers make openldap-dev openssl-dev perl-dev perl-ipc-run perl-utils python3-dev tcl-dev util-linux-dev zlib-dev icu-dev ; cd /usr/src/postgresql; awk '$1 == "#define" && $2 == "DEFAULT_PGSOCKET_DIR" && $3 == "\"/tmp\"" { $3 = "\"/var/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new; grep '/var/run/postgresql' src/include/pg_config_manual.h.new; mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; wget -O config/config.guess 'https://git.savannah.gnu.org/cgit/config.git/plain/config.guess?id=7d3d27baf8107b630586c962c057e22149653deb'; wget -O config/config.sub 'https://git.savannah.gnu.org/cgit/config.git/plain/config.sub?id=7d3d27baf8107b630586c962c057e22149653deb'; export LLVM_CONFIG="/usr/lib/llvm15/bin/llvm-config"; export CLANG=clang-15; ./configure --enable-option-checking=fatal --build="$gnuArch" --enable-integer-datetimes --enable-thread-safety --enable-tap-tests --disable-rpath --with-uuid=e2fs --with-gnu-ld --with-pgport=5432 --with-system-tzdata=/usr/share/zoneinfo --prefix=/usr/local --with-includes=/usr/local/include --with-libraries=/usr/local/lib --with-gssapi --with-ldap --with-tcl --with-perl --with-python --with-openssl --with-libxml --with-libxslt --with-icu --with-llvm ; make -j "$(nproc)" world-bin; make install-world-bin; make -C contrib install; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | grep -v -e perl -e python -e tcl )"; apk add --no-cache --virtual .postgresql-rundeps $runDeps bash tzdata zstd icu-data-full $([ "$(apk --print-arch)" != 'ppc64le' ] && echo 'nss_wrapper') ; apk del --no-network .build-deps; cd /; rm -rf /usr/src/postgresql /usr/local/share/doc /usr/local/share/man ; postgres --version # buildkit
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; cp -v /usr/local/share/postgresql/postgresql.conf.sample /usr/local/share/postgresql/postgresql.conf.sample.orig; sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/local/share/postgresql/postgresql.conf.sample; grep -F "listen_addresses = '*'" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 3777 /var/run/postgresql # buildkit
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 1777 "$PGDATA" # buildkit
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2024-07-02 18:51:45 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY
2024-07-02 18:51:45 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2024-07-02 18:51:45 UTC (buildkit.dockerfile.v0)ARG PGAI_VERSION=v0.2.0
2024-07-02 18:51:45 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=13
2024-07-02 18:51:45 UTC (buildkit.dockerfile.v0)ARG TARGETARCH=386
2024-07-02 18:51:45 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= PGAI_VERSION=v0.2.0 PG_MAJOR_VERSION=13 TARGETARCH=386 /bin/sh -c set -ex; if [ "$PG_MAJOR_VERSION" -gt 15 ] && [ "$TARGETARCH" != "arm" ]; then apk update; apk add --no-cache --virtual .pgai-deps git build-base cargo python3-dev py3-pip; git clone --branch ${PGAI_VERSION} https://github.com/timescale/pgai.git /build/pgai; cp /build/pgai/ai--*.sql /usr/local/share/postgresql/extension/; cp /build/pgai/ai.control /usr/local/share/postgresql/extension/; pip install --verbose --break-system-packages -r /build/pgai/requirements.txt; apk del .pgai-deps; fi # buildkit
2024-07-02 18:51:45 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2024-07-02 18:52:53 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2024-07-02 18:52:54 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2024-07-02 18:52:55 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2024-07-02 18:52:55 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.15.3
2024-07-02 18:55:26 UTC (buildkit.dockerfile.v0)RUN |5 OSS_ONLY= PGAI_VERSION=v0.2.0 PG_MAJOR_VERSION=13 TARGETARCH=386 TS_VERSION=2.15.3 /bin/sh -c set -ex && apk add --no-cache --virtual .fetch-deps ca-certificates git openssl openssl-dev tar && mkdir -p /build/ && git clone https://github.com/timescale/timescaledb /build/timescaledb && apk add --no-cache --virtual .build-deps coreutils dpkg-dev dpkg gcc krb5-dev libc-dev make cmake util-linux-dev && cd /build/timescaledb && rm -fr build && git checkout ${TS_VERSION} && ./bootstrap -DCMAKE_BUILD_TYPE=RelWithDebInfo -DREGRESS_CHECKS=OFF -DTAP_CHECKS=OFF -DGENERATE_DOWNGRADE_SCRIPT=ON -DWARNINGS_AS_ERRORS=OFF -DPROJECT_INSTALL_METHOD="docker"${OSS_ONLY} && cd build && make install && cd ~ && if [ "${OSS_ONLY}" != "" ]; then rm -f $(pg_config --pkglibdir)/timescaledb-tsl-*.so; fi && apk del .fetch-deps .build-deps && rm -rf /build && sed -r -i "s/[#]*\s*(shared_preload_libraries)\s*=\s*'(.*)'/\1 = 'timescaledb,\2'/;s/,'/'/" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
2024-07-02 18:55:12 UTC
282 MB
llvm15-dev clang15
GOSU_VERSION1.17
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/data
PG_MAJOR13
PG_SHA25642edd415446d33b8c242be76d1ad057531b2264b2e86939339b7075c6e4ec925
PG_VERSION13.15
[#000] sha256:ec99f8b99825a742d50fb3ce173d291378a46ab54b8ef7dd75e5654e2a296e99 - 1.23% (3.46 MB)
[#001] sha256:5fd3ad402992ee110b91ea7c5dfd75be5f07820c707fcb9d1d2bf3b6439b2742 - 0.0% (982 Bytes)
[#002] sha256:f0ab9af71a6b2906f1ab4664ef45b3dcb104f342db9ee81b66e705ebfbebed0e - 0.38% (1.07 MB)
[#003] sha256:e9cba7ca7950ae349df9b31764667887527c476a26073793ddc0b1d34766bcf5 - 0.0% (175 Bytes)
[#004] sha256:139743f5c94ceb02967b6b67295b7181dbd914935ed3d60e7dd023219825e729 - 0.0% (116 Bytes)
[#005] sha256:572c3655f0b386aa918664ed5b23d05637d36f49f2cd7c565e4a0b5349e8ca36 - 30.14% (85 MB)
[#006] sha256:75dae9b982569be1aa658958671f3d57c682936903e2e1a6939898697997cd7a - 0.0% (8.8 KB)
[#007] sha256:13a56d70f3fa65bf9d3c74979ae87c53997e8ded1a6812fa56cba6456a33f26a - 0.0% (129 Bytes)
[#008] sha256:fe531361bd01f0a4f127fbc96f9911612f19bad9b01b918ad4379a9d9fa3f7b4 - 0.0% (170 Bytes)
[#009] sha256:d2fb07ac19edb6df19092a7d208db310407fb35f9341ccfe68d2dc52713745be - 0.0% (5.29 KB)
[#010] sha256:af8866a5ee81ec1fc5ef7a89abcd7b45780cd02dc79f0646b9dfcd2a062bbc21 - 0.0% (186 Bytes)
[#011] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#012] sha256:80067afffd1802cb5b4da8044c91d7917290610fe8c60b70046c2f15c2366be8 - 0.0% (2.18 KB)
[#013] sha256:fb1ae7a92ea84373945608a176f0e28030ce77374bc6639e5ed1ffd58ba001b1 - 2.38% (6.71 MB)
[#014] sha256:e48169791fb6e54ef05515378757cb88549050dbf6b9c94209a24630fb93ac34 - 46.95% (132 MB)
[#015] sha256:00139fc663048a3bac69822dd5a1e127112d42bff6177ea91e814509c52cd0cc - 15.68% (44.2 MB)
[#016] sha256:f9374d89cbe8115f35d7a09beb4929ae38b6d08081aeaf0d6abdfea77b0173ee - 3.24% (9.13 MB)
/bin/sh -c #(nop) ADD file:33ebe56b967747a97dcec01bc2559962bee8823686c9739d26be060381bbb3ca in /
2024-06-03 20:57:56 UTC/bin/sh -c #(nop) CMD ["/bin/sh"]
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; addgroup -g 70 -S postgres; adduser -u 70 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; mkdir -p /var/lib/postgresql; chown -R postgres:postgres /var/lib/postgresql # buildkit
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache --virtual .gosu-deps ca-certificates dpkg gnupg ; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; apk del --no-network .gosu-deps; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; ln -svf gosu /usr/local/bin/su-exec; su-exec nobody true # backwards compatibility (removed in PostgreSQL 17+) # buildkit
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=13
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=13.15
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=42edd415446d33b8c242be76d1ad057531b2264b2e86939339b7075c6e4ec925
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm15-dev clang15
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; wget -O postgresql.tar.bz2 "https://ftp.postgresql.org/pub/source/v$PG_VERSION/postgresql-$PG_VERSION.tar.bz2"; echo "$PG_SHA256 *postgresql.tar.bz2" | sha256sum -c -; mkdir -p /usr/src/postgresql; tar --extract --file postgresql.tar.bz2 --directory /usr/src/postgresql --strip-components 1 ; rm postgresql.tar.bz2; apk add --no-cache --virtual .build-deps $DOCKER_PG_LLVM_DEPS bison coreutils dpkg-dev dpkg flex g++ gcc krb5-dev libc-dev libedit-dev libxml2-dev libxslt-dev linux-headers make openldap-dev openssl-dev perl-dev perl-ipc-run perl-utils python3-dev tcl-dev util-linux-dev zlib-dev icu-dev ; cd /usr/src/postgresql; awk '$1 == "#define" && $2 == "DEFAULT_PGSOCKET_DIR" && $3 == "\"/tmp\"" { $3 = "\"/var/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new; grep '/var/run/postgresql' src/include/pg_config_manual.h.new; mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; wget -O config/config.guess 'https://git.savannah.gnu.org/cgit/config.git/plain/config.guess?id=7d3d27baf8107b630586c962c057e22149653deb'; wget -O config/config.sub 'https://git.savannah.gnu.org/cgit/config.git/plain/config.sub?id=7d3d27baf8107b630586c962c057e22149653deb'; export LLVM_CONFIG="/usr/lib/llvm15/bin/llvm-config"; export CLANG=clang-15; ./configure --enable-option-checking=fatal --build="$gnuArch" --enable-integer-datetimes --enable-thread-safety --enable-tap-tests --disable-rpath --with-uuid=e2fs --with-gnu-ld --with-pgport=5432 --with-system-tzdata=/usr/share/zoneinfo --prefix=/usr/local --with-includes=/usr/local/include --with-libraries=/usr/local/lib --with-gssapi --with-ldap --with-tcl --with-perl --with-python --with-openssl --with-libxml --with-libxslt --with-icu --with-llvm ; make -j "$(nproc)" world-bin; make install-world-bin; make -C contrib install; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | grep -v -e perl -e python -e tcl )"; apk add --no-cache --virtual .postgresql-rundeps $runDeps bash tzdata zstd icu-data-full $([ "$(apk --print-arch)" != 'ppc64le' ] && echo 'nss_wrapper') ; apk del --no-network .build-deps; cd /; rm -rf /usr/src/postgresql /usr/local/share/doc /usr/local/share/man ; postgres --version # buildkit
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; cp -v /usr/local/share/postgresql/postgresql.conf.sample /usr/local/share/postgresql/postgresql.conf.sample.orig; sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/local/share/postgresql/postgresql.conf.sample; grep -F "listen_addresses = '*'" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 3777 /var/run/postgresql # buildkit
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 1777 "$PGDATA" # buildkit
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2024-07-02 18:51:45 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY
2024-07-02 18:51:45 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2024-07-02 18:51:45 UTC (buildkit.dockerfile.v0)ARG PGAI_VERSION=v0.2.0
2024-07-02 18:51:45 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=13
2024-07-02 18:51:45 UTC (buildkit.dockerfile.v0)ARG TARGETARCH=amd64
2024-07-02 18:51:45 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= PGAI_VERSION=v0.2.0 PG_MAJOR_VERSION=13 TARGETARCH=amd64 /bin/sh -c set -ex; if [ "$PG_MAJOR_VERSION" -gt 15 ] && [ "$TARGETARCH" != "arm" ]; then apk update; apk add --no-cache --virtual .pgai-deps git build-base cargo python3-dev py3-pip; git clone --branch ${PGAI_VERSION} https://github.com/timescale/pgai.git /build/pgai; cp /build/pgai/ai--*.sql /usr/local/share/postgresql/extension/; cp /build/pgai/ai.control /usr/local/share/postgresql/extension/; pip install --verbose --break-system-packages -r /build/pgai/requirements.txt; apk del .pgai-deps; fi # buildkit
2024-07-02 18:51:45 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2024-07-02 18:52:51 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2024-07-02 18:52:52 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2024-07-02 18:52:53 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2024-07-02 18:52:53 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.15.3
2024-07-02 18:55:12 UTC (buildkit.dockerfile.v0)RUN |5 OSS_ONLY= PGAI_VERSION=v0.2.0 PG_MAJOR_VERSION=13 TARGETARCH=amd64 TS_VERSION=2.15.3 /bin/sh -c set -ex && apk add --no-cache --virtual .fetch-deps ca-certificates git openssl openssl-dev tar && mkdir -p /build/ && git clone https://github.com/timescale/timescaledb /build/timescaledb && apk add --no-cache --virtual .build-deps coreutils dpkg-dev dpkg gcc krb5-dev libc-dev make cmake util-linux-dev && cd /build/timescaledb && rm -fr build && git checkout ${TS_VERSION} && ./bootstrap -DCMAKE_BUILD_TYPE=RelWithDebInfo -DREGRESS_CHECKS=OFF -DTAP_CHECKS=OFF -DGENERATE_DOWNGRADE_SCRIPT=ON -DWARNINGS_AS_ERRORS=OFF -DPROJECT_INSTALL_METHOD="docker"${OSS_ONLY} && cd build && make install && cd ~ && if [ "${OSS_ONLY}" != "" ]; then rm -f $(pg_config --pkglibdir)/timescaledb-tsl-*.so; fi && apk del .fetch-deps .build-deps && rm -rf /build && sed -r -i "s/[#]*\s*(shared_preload_libraries)\s*=\s*'(.*)'/\1 = 'timescaledb,\2'/;s/,'/'/" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
2024-07-02 19:14:41 UTC
277 MB
llvm15-dev clang15
GOSU_VERSION1.17
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/data
PG_MAJOR13
PG_SHA25642edd415446d33b8c242be76d1ad057531b2264b2e86939339b7075c6e4ec925
PG_VERSION13.15
[#000] sha256:3d2af5f613c84e549fb09710d45b152d3cdf48eb7a37dc3e9c01e2b3975f4f76 - 1.16% (3.21 MB)
[#001] sha256:2640dab907ed35bd488e24d6da109c7026c1321c11967967eb028698fbc4801f - 0.0% (980 Bytes)
[#002] sha256:ef5327df1fad331b313cad6267b0c93373044d04c72d2add0abc79de0d2b213d - 0.37% (1.04 MB)
[#003] sha256:49cf0d363d64a083ebc6577b3fefc07d8df818886bd660d888463d3b65ef8187 - 0.0% (177 Bytes)
[#004] sha256:8029e22f43501efc10f06d4b7dc4c0c4aad2ddefb7b823d0072a0800139f8093 - 0.0% (116 Bytes)
[#005] sha256:57ff9539db273cdc48f84945235710623283ecbb6d36a8246415fa038cbcdfae - 30.32% (84.1 MB)
[#006] sha256:ac8455a357b3770365677b4c22e79d0ddc6963eede321bc20515de9df4403965 - 0.0% (8.8 KB)
[#007] sha256:036fb364d1b88b987d678c3ec59e8dbdd40260e73e9fe81557749bdfacfe0f2b - 0.0% (128 Bytes)
[#008] sha256:6e2c7ac9c5f20ac172b382713f3207414a5837f9c8072787ccac1d75f7fa8495 - 0.0% (169 Bytes)
[#009] sha256:c9f21b49593afa003450f56bf34ad46b38d7dc59f7df278827c36386d97c1ed0 - 0.0% (5.3 KB)
[#010] sha256:aeac75676de2fd7dd8ae9de0f58f9ad468237caca17a913c10eeca12f9a48261 - 0.0% (185 Bytes)
[#011] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#012] sha256:80067afffd1802cb5b4da8044c91d7917290610fe8c60b70046c2f15c2366be8 - 0.0% (2.18 KB)
[#013] sha256:2d31ea83f4f55d917f15c26b6616718386ef8ab91afa685687c0b3c92c79893c - 2.25% (6.24 MB)
[#014] sha256:448eb22d9319a48cf4a8f36b3e298724d355421cebbb8e09715d14a0b529bc7e - 46.8% (130 MB)
[#015] sha256:2fd517c8af853d2fea0a71dc0bc251453ef2ff0ae1c4e2911bc9c4c2db413233 - 15.93% (44.2 MB)
[#016] sha256:c93b12d9514a8b12fb277deccb52f9c30faec919a7c10a7e63a70432d74c9d84 - 3.16% (8.76 MB)
/bin/sh -c #(nop) ADD file:ef2635f09c1d2632408805d106fbc5d27fb307cb5f584bddc699b4b5ae577623 in /
2024-06-03 20:57:56 UTC/bin/sh -c #(nop) CMD ["/bin/sh"]
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; addgroup -g 70 -S postgres; adduser -u 70 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; mkdir -p /var/lib/postgresql; chown -R postgres:postgres /var/lib/postgresql # buildkit
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache --virtual .gosu-deps ca-certificates dpkg gnupg ; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; apk del --no-network .gosu-deps; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; ln -svf gosu /usr/local/bin/su-exec; su-exec nobody true # backwards compatibility (removed in PostgreSQL 17+) # buildkit
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=13
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=13.15
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=42edd415446d33b8c242be76d1ad057531b2264b2e86939339b7075c6e4ec925
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm15-dev clang15
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; wget -O postgresql.tar.bz2 "https://ftp.postgresql.org/pub/source/v$PG_VERSION/postgresql-$PG_VERSION.tar.bz2"; echo "$PG_SHA256 *postgresql.tar.bz2" | sha256sum -c -; mkdir -p /usr/src/postgresql; tar --extract --file postgresql.tar.bz2 --directory /usr/src/postgresql --strip-components 1 ; rm postgresql.tar.bz2; apk add --no-cache --virtual .build-deps $DOCKER_PG_LLVM_DEPS bison coreutils dpkg-dev dpkg flex g++ gcc krb5-dev libc-dev libedit-dev libxml2-dev libxslt-dev linux-headers make openldap-dev openssl-dev perl-dev perl-ipc-run perl-utils python3-dev tcl-dev util-linux-dev zlib-dev icu-dev ; cd /usr/src/postgresql; awk '$1 == "#define" && $2 == "DEFAULT_PGSOCKET_DIR" && $3 == "\"/tmp\"" { $3 = "\"/var/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new; grep '/var/run/postgresql' src/include/pg_config_manual.h.new; mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; wget -O config/config.guess 'https://git.savannah.gnu.org/cgit/config.git/plain/config.guess?id=7d3d27baf8107b630586c962c057e22149653deb'; wget -O config/config.sub 'https://git.savannah.gnu.org/cgit/config.git/plain/config.sub?id=7d3d27baf8107b630586c962c057e22149653deb'; export LLVM_CONFIG="/usr/lib/llvm15/bin/llvm-config"; export CLANG=clang-15; ./configure --enable-option-checking=fatal --build="$gnuArch" --enable-integer-datetimes --enable-thread-safety --enable-tap-tests --disable-rpath --with-uuid=e2fs --with-gnu-ld --with-pgport=5432 --with-system-tzdata=/usr/share/zoneinfo --prefix=/usr/local --with-includes=/usr/local/include --with-libraries=/usr/local/lib --with-gssapi --with-ldap --with-tcl --with-perl --with-python --with-openssl --with-libxml --with-libxslt --with-icu --with-llvm ; make -j "$(nproc)" world-bin; make install-world-bin; make -C contrib install; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | grep -v -e perl -e python -e tcl )"; apk add --no-cache --virtual .postgresql-rundeps $runDeps bash tzdata zstd icu-data-full $([ "$(apk --print-arch)" != 'ppc64le' ] && echo 'nss_wrapper') ; apk del --no-network .build-deps; cd /; rm -rf /usr/src/postgresql /usr/local/share/doc /usr/local/share/man ; postgres --version # buildkit
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; cp -v /usr/local/share/postgresql/postgresql.conf.sample /usr/local/share/postgresql/postgresql.conf.sample.orig; sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/local/share/postgresql/postgresql.conf.sample; grep -F "listen_addresses = '*'" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 3777 /var/run/postgresql # buildkit
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 1777 "$PGDATA" # buildkit
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2024-07-02 18:51:45 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY
2024-07-02 18:51:45 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2024-07-02 18:51:45 UTC (buildkit.dockerfile.v0)ARG PGAI_VERSION=v0.2.0
2024-07-02 18:51:45 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=13
2024-07-02 18:51:45 UTC (buildkit.dockerfile.v0)ARG TARGETARCH=arm
2024-07-02 18:51:45 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= PGAI_VERSION=v0.2.0 PG_MAJOR_VERSION=13 TARGETARCH=arm /bin/sh -c set -ex; if [ "$PG_MAJOR_VERSION" -gt 15 ] && [ "$TARGETARCH" != "arm" ]; then apk update; apk add --no-cache --virtual .pgai-deps git build-base cargo python3-dev py3-pip; git clone --branch ${PGAI_VERSION} https://github.com/timescale/pgai.git /build/pgai; cp /build/pgai/ai--*.sql /usr/local/share/postgresql/extension/; cp /build/pgai/ai.control /usr/local/share/postgresql/extension/; pip install --verbose --break-system-packages -r /build/pgai/requirements.txt; apk del .pgai-deps; fi # buildkit
2024-07-02 18:51:45 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2024-07-02 19:00:59 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2024-07-02 19:01:00 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2024-07-02 19:01:01 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2024-07-02 19:01:01 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.15.3
2024-07-02 19:14:41 UTC (buildkit.dockerfile.v0)RUN |5 OSS_ONLY= PGAI_VERSION=v0.2.0 PG_MAJOR_VERSION=13 TARGETARCH=arm TS_VERSION=2.15.3 /bin/sh -c set -ex && apk add --no-cache --virtual .fetch-deps ca-certificates git openssl openssl-dev tar && mkdir -p /build/ && git clone https://github.com/timescale/timescaledb /build/timescaledb && apk add --no-cache --virtual .build-deps coreutils dpkg-dev dpkg gcc krb5-dev libc-dev make cmake util-linux-dev && cd /build/timescaledb && rm -fr build && git checkout ${TS_VERSION} && ./bootstrap -DCMAKE_BUILD_TYPE=RelWithDebInfo -DREGRESS_CHECKS=OFF -DTAP_CHECKS=OFF -DGENERATE_DOWNGRADE_SCRIPT=ON -DWARNINGS_AS_ERRORS=OFF -DPROJECT_INSTALL_METHOD="docker"${OSS_ONLY} && cd build && make install && cd ~ && if [ "${OSS_ONLY}" != "" ]; then rm -f $(pg_config --pkglibdir)/timescaledb-tsl-*.so; fi && apk del .fetch-deps .build-deps && rm -rf /build && sed -r -i "s/[#]*\s*(shared_preload_libraries)\s*=\s*'(.*)'/\1 = 'timescaledb,\2'/;s/,'/'/" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
2024-07-02 19:14:48 UTC
271 MB
llvm15-dev clang15
GOSU_VERSION1.17
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/data
PG_MAJOR13
PG_SHA25642edd415446d33b8c242be76d1ad057531b2264b2e86939339b7075c6e4ec925
PG_VERSION13.15
[#000] sha256:3fb467f9cb36e54d3cb8806db734a6c640048f3dc270b506ec1f111640905b79 - 1.09% (2.95 MB)
[#001] sha256:d02f65ffbc9b629d9c5eb55e36132f8c14938b0df43c176933b5f79d2bb36cfd - 0.0% (978 Bytes)
[#002] sha256:9bf0b172fbdb2e056f8aecdad71f3963920fdb34aa1694ef2ee153dfacd26a81 - 0.38% (1.04 MB)
[#003] sha256:c5ab0117433032d76d3ef2e7ea77711cbb1bb0042f985620a1acafc4bcf36804 - 0.0% (177 Bytes)
[#004] sha256:1e4e9ea83fbd54d456090ca986816a7f9802a91ff2ecc505d5975f63ce93d80a - 0.0% (116 Bytes)
[#005] sha256:6b95881e791ab8ae95384a67aa97fdb4e3f0b1c60916a28600baaf67d059b3f7 - 29.23% (79.1 MB)
[#006] sha256:55e6802ce6382de699565749ad324e7eac2f584dee84043ce5d41e5bd128f3bb - 0.0% (8.81 KB)
[#007] sha256:b6a30da5afb91a5c54e0418c73c82e91062425d3ff3c1bda6934fbbda101f612 - 0.0% (129 Bytes)
[#008] sha256:dbfbe2d9e068bcfcbac188387ee920697466b87dbdf1a7aae640be8a954b4ce8 - 0.0% (170 Bytes)
[#009] sha256:cfccd45756ef167a55a11c50a1ca61764e3be7d8a75255432a6361aaaf59eb65 - 0.0% (5.3 KB)
[#010] sha256:dffd4b769353d7addbdc89f41628354ef7d2050cee1bd279b3a732856aa4cd29 - 0.0% (185 Bytes)
[#011] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#012] sha256:80067afffd1802cb5b4da8044c91d7917290610fe8c60b70046c2f15c2366be8 - 0.0% (2.18 KB)
[#013] sha256:9bbc73af84c732dbc9e07f2c81f9dbfc2bd4ec081999ca24feb200c00bdfe12e - 2.3% (6.23 MB)
[#014] sha256:2790c4095389ea404f947f22155839baebd57ff8c9c6cd057a3b452635641a89 - 47.5% (129 MB)
[#015] sha256:8766d988637d5102ecc3133ccb03ef4270418fb59622d0d317fe85dc58594b49 - 16.33% (44.2 MB)
[#016] sha256:d3feb0c9c8da12a52d7aa2d399984971f53228f12e68ac1d70706a8cb401bb06 - 3.15% (8.52 MB)
/bin/sh -c #(nop) ADD file:4d58f44e3cedeba6fad741c79bc5acab1a9f2a2f597c854dc3bb8b8595ebf3e1 in /
2024-06-03 20:57:56 UTC/bin/sh -c #(nop) CMD ["/bin/sh"]
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; addgroup -g 70 -S postgres; adduser -u 70 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; mkdir -p /var/lib/postgresql; chown -R postgres:postgres /var/lib/postgresql # buildkit
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache --virtual .gosu-deps ca-certificates dpkg gnupg ; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; apk del --no-network .gosu-deps; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; ln -svf gosu /usr/local/bin/su-exec; su-exec nobody true # backwards compatibility (removed in PostgreSQL 17+) # buildkit
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=13
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=13.15
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=42edd415446d33b8c242be76d1ad057531b2264b2e86939339b7075c6e4ec925
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm15-dev clang15
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; wget -O postgresql.tar.bz2 "https://ftp.postgresql.org/pub/source/v$PG_VERSION/postgresql-$PG_VERSION.tar.bz2"; echo "$PG_SHA256 *postgresql.tar.bz2" | sha256sum -c -; mkdir -p /usr/src/postgresql; tar --extract --file postgresql.tar.bz2 --directory /usr/src/postgresql --strip-components 1 ; rm postgresql.tar.bz2; apk add --no-cache --virtual .build-deps $DOCKER_PG_LLVM_DEPS bison coreutils dpkg-dev dpkg flex g++ gcc krb5-dev libc-dev libedit-dev libxml2-dev libxslt-dev linux-headers make openldap-dev openssl-dev perl-dev perl-ipc-run perl-utils python3-dev tcl-dev util-linux-dev zlib-dev icu-dev ; cd /usr/src/postgresql; awk '$1 == "#define" && $2 == "DEFAULT_PGSOCKET_DIR" && $3 == "\"/tmp\"" { $3 = "\"/var/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new; grep '/var/run/postgresql' src/include/pg_config_manual.h.new; mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; wget -O config/config.guess 'https://git.savannah.gnu.org/cgit/config.git/plain/config.guess?id=7d3d27baf8107b630586c962c057e22149653deb'; wget -O config/config.sub 'https://git.savannah.gnu.org/cgit/config.git/plain/config.sub?id=7d3d27baf8107b630586c962c057e22149653deb'; export LLVM_CONFIG="/usr/lib/llvm15/bin/llvm-config"; export CLANG=clang-15; ./configure --enable-option-checking=fatal --build="$gnuArch" --enable-integer-datetimes --enable-thread-safety --enable-tap-tests --disable-rpath --with-uuid=e2fs --with-gnu-ld --with-pgport=5432 --with-system-tzdata=/usr/share/zoneinfo --prefix=/usr/local --with-includes=/usr/local/include --with-libraries=/usr/local/lib --with-gssapi --with-ldap --with-tcl --with-perl --with-python --with-openssl --with-libxml --with-libxslt --with-icu --with-llvm ; make -j "$(nproc)" world-bin; make install-world-bin; make -C contrib install; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | grep -v -e perl -e python -e tcl )"; apk add --no-cache --virtual .postgresql-rundeps $runDeps bash tzdata zstd icu-data-full $([ "$(apk --print-arch)" != 'ppc64le' ] && echo 'nss_wrapper') ; apk del --no-network .build-deps; cd /; rm -rf /usr/src/postgresql /usr/local/share/doc /usr/local/share/man ; postgres --version # buildkit
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; cp -v /usr/local/share/postgresql/postgresql.conf.sample /usr/local/share/postgresql/postgresql.conf.sample.orig; sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/local/share/postgresql/postgresql.conf.sample; grep -F "listen_addresses = '*'" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 3777 /var/run/postgresql # buildkit
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 1777 "$PGDATA" # buildkit
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2024-07-02 18:51:45 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY
2024-07-02 18:51:45 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2024-07-02 18:51:45 UTC (buildkit.dockerfile.v0)ARG PGAI_VERSION=v0.2.0
2024-07-02 18:51:45 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=13
2024-07-02 18:51:45 UTC (buildkit.dockerfile.v0)ARG TARGETARCH=arm
2024-07-02 18:51:45 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= PGAI_VERSION=v0.2.0 PG_MAJOR_VERSION=13 TARGETARCH=arm /bin/sh -c set -ex; if [ "$PG_MAJOR_VERSION" -gt 15 ] && [ "$TARGETARCH" != "arm" ]; then apk update; apk add --no-cache --virtual .pgai-deps git build-base cargo python3-dev py3-pip; git clone --branch ${PGAI_VERSION} https://github.com/timescale/pgai.git /build/pgai; cp /build/pgai/ai--*.sql /usr/local/share/postgresql/extension/; cp /build/pgai/ai.control /usr/local/share/postgresql/extension/; pip install --verbose --break-system-packages -r /build/pgai/requirements.txt; apk del .pgai-deps; fi # buildkit
2024-07-02 18:51:45 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2024-07-02 19:01:00 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2024-07-02 19:01:01 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2024-07-02 19:01:02 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2024-07-02 19:01:02 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.15.3
2024-07-02 19:14:48 UTC (buildkit.dockerfile.v0)RUN |5 OSS_ONLY= PGAI_VERSION=v0.2.0 PG_MAJOR_VERSION=13 TARGETARCH=arm TS_VERSION=2.15.3 /bin/sh -c set -ex && apk add --no-cache --virtual .fetch-deps ca-certificates git openssl openssl-dev tar && mkdir -p /build/ && git clone https://github.com/timescale/timescaledb /build/timescaledb && apk add --no-cache --virtual .build-deps coreutils dpkg-dev dpkg gcc krb5-dev libc-dev make cmake util-linux-dev && cd /build/timescaledb && rm -fr build && git checkout ${TS_VERSION} && ./bootstrap -DCMAKE_BUILD_TYPE=RelWithDebInfo -DREGRESS_CHECKS=OFF -DTAP_CHECKS=OFF -DGENERATE_DOWNGRADE_SCRIPT=ON -DWARNINGS_AS_ERRORS=OFF -DPROJECT_INSTALL_METHOD="docker"${OSS_ONLY} && cd build && make install && cd ~ && if [ "${OSS_ONLY}" != "" ]; then rm -f $(pg_config --pkglibdir)/timescaledb-tsl-*.so; fi && apk del .fetch-deps .build-deps && rm -rf /build && sed -r -i "s/[#]*\s*(shared_preload_libraries)\s*=\s*'(.*)'/\1 = 'timescaledb,\2'/;s/,'/'/" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
2024-07-02 19:15:23 UTC
279 MB
llvm15-dev clang15
GOSU_VERSION1.17
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/data
PG_MAJOR13
PG_SHA25642edd415446d33b8c242be76d1ad057531b2264b2e86939339b7075c6e4ec925
PG_VERSION13.15
[#000] sha256:a258b2a6b59a7aa244d8ceab095c7f8df726f27075a69fca7ad8490f3f63148a - 1.4% (3.9 MB)
[#001] sha256:cc9e6828f3d660a960854578ae8ae424a959b2c1040825d758b9b940a4be0679 - 0.0% (978 Bytes)
[#002] sha256:a00f321c1f061c3dea446dacb3175b0e256b7936852a80df4b6297f7c9c89fd2 - 0.36% (1 MB)
[#003] sha256:19db2849aeb36fe0051e8e52f4068a894eb004bff31aa498e2e56e51c2d4923e - 0.0% (175 Bytes)
[#004] sha256:1757dbcdf1199eb4f865c0a6d10ee03d54fed30480ef8744a31baaeaf1f39f1d - 0.0% (116 Bytes)
[#005] sha256:0903ff08c68aed09396c01b5d7d022dfc76b7874c3c90f1ee61dbc0eafc72059 - 30.09% (83.9 MB)
[#006] sha256:faf1858d0d877b2c70464e4ad4c614b9122d4d0844f554bf478f0b428a5eb2de - 0.0% (8.81 KB)
[#007] sha256:de45d4b139928fc02ef57fddb8b5ae8124406fa168b174b59ceb66e54e17d789 - 0.0% (129 Bytes)
[#008] sha256:d64c7aaa25fd92eb80e29596a735a2efe3021188b787950ba914d639fd2570cd - 0.0% (170 Bytes)
[#009] sha256:bbf7bd93c8365bc1d636f5912399c4a573452776e3fab4fef3cd0e9a0e44b326 - 0.0% (5.3 KB)
[#010] sha256:1f81f450c551a068196b0ee93e667373f125ff7debec52eaa320eb2e6af8a224 - 0.0% (185 Bytes)
[#011] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#012] sha256:80067afffd1802cb5b4da8044c91d7917290610fe8c60b70046c2f15c2366be8 - 0.0% (2.18 KB)
[#013] sha256:e950902523602571eedc6bd458631d994311a3dffa6e3184311b4e457889b47a - 2.26% (6.31 MB)
[#014] sha256:b135532fb0f86ffe40e1d91203b4bb2c65f1e45097e3d7bb4be6106b15afebb4 - 46.62% (130 MB)
[#015] sha256:9634cbbf980fcff1c2b2a49d469873130dfc7ac07b64ddffe57cc7550793c31c - 15.85% (44.2 MB)
[#016] sha256:aef3e408e3dcef9b75297737e167c13580a05ea6d5499467abc5b80674cbac28 - 3.41% (9.5 MB)
/bin/sh -c #(nop) ADD file:033626ac44156f3d5800a602c46870486b1492b9ba26096eaa66cceb6fcead77 in /
2024-06-03 20:57:56 UTC/bin/sh -c #(nop) CMD ["/bin/sh"]
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; addgroup -g 70 -S postgres; adduser -u 70 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; mkdir -p /var/lib/postgresql; chown -R postgres:postgres /var/lib/postgresql # buildkit
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache --virtual .gosu-deps ca-certificates dpkg gnupg ; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; apk del --no-network .gosu-deps; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; ln -svf gosu /usr/local/bin/su-exec; su-exec nobody true # backwards compatibility (removed in PostgreSQL 17+) # buildkit
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=13
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=13.15
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=42edd415446d33b8c242be76d1ad057531b2264b2e86939339b7075c6e4ec925
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm15-dev clang15
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; wget -O postgresql.tar.bz2 "https://ftp.postgresql.org/pub/source/v$PG_VERSION/postgresql-$PG_VERSION.tar.bz2"; echo "$PG_SHA256 *postgresql.tar.bz2" | sha256sum -c -; mkdir -p /usr/src/postgresql; tar --extract --file postgresql.tar.bz2 --directory /usr/src/postgresql --strip-components 1 ; rm postgresql.tar.bz2; apk add --no-cache --virtual .build-deps $DOCKER_PG_LLVM_DEPS bison coreutils dpkg-dev dpkg flex g++ gcc krb5-dev libc-dev libedit-dev libxml2-dev libxslt-dev linux-headers make openldap-dev openssl-dev perl-dev perl-ipc-run perl-utils python3-dev tcl-dev util-linux-dev zlib-dev icu-dev ; cd /usr/src/postgresql; awk '$1 == "#define" && $2 == "DEFAULT_PGSOCKET_DIR" && $3 == "\"/tmp\"" { $3 = "\"/var/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new; grep '/var/run/postgresql' src/include/pg_config_manual.h.new; mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; wget -O config/config.guess 'https://git.savannah.gnu.org/cgit/config.git/plain/config.guess?id=7d3d27baf8107b630586c962c057e22149653deb'; wget -O config/config.sub 'https://git.savannah.gnu.org/cgit/config.git/plain/config.sub?id=7d3d27baf8107b630586c962c057e22149653deb'; export LLVM_CONFIG="/usr/lib/llvm15/bin/llvm-config"; export CLANG=clang-15; ./configure --enable-option-checking=fatal --build="$gnuArch" --enable-integer-datetimes --enable-thread-safety --enable-tap-tests --disable-rpath --with-uuid=e2fs --with-gnu-ld --with-pgport=5432 --with-system-tzdata=/usr/share/zoneinfo --prefix=/usr/local --with-includes=/usr/local/include --with-libraries=/usr/local/lib --with-gssapi --with-ldap --with-tcl --with-perl --with-python --with-openssl --with-libxml --with-libxslt --with-icu --with-llvm ; make -j "$(nproc)" world-bin; make install-world-bin; make -C contrib install; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | grep -v -e perl -e python -e tcl )"; apk add --no-cache --virtual .postgresql-rundeps $runDeps bash tzdata zstd icu-data-full $([ "$(apk --print-arch)" != 'ppc64le' ] && echo 'nss_wrapper') ; apk del --no-network .build-deps; cd /; rm -rf /usr/src/postgresql /usr/local/share/doc /usr/local/share/man ; postgres --version # buildkit
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; cp -v /usr/local/share/postgresql/postgresql.conf.sample /usr/local/share/postgresql/postgresql.conf.sample.orig; sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/local/share/postgresql/postgresql.conf.sample; grep -F "listen_addresses = '*'" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 3777 /var/run/postgresql # buildkit
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 1777 "$PGDATA" # buildkit
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2024-06-03 20:57:56 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2024-07-02 18:51:45 UTC (buildkit.dockerfile.v0)ARG OSS_ONLY
2024-07-02 18:51:45 UTC (buildkit.dockerfile.v0)LABEL maintainer=Timescale https://www.timescale.com
2024-07-02 18:51:45 UTC (buildkit.dockerfile.v0)ARG PGAI_VERSION=v0.2.0
2024-07-02 18:51:45 UTC (buildkit.dockerfile.v0)ARG PG_MAJOR_VERSION=13
2024-07-02 18:51:45 UTC (buildkit.dockerfile.v0)ARG TARGETARCH=arm64
2024-07-02 18:51:45 UTC (buildkit.dockerfile.v0)RUN |4 OSS_ONLY= PGAI_VERSION=v0.2.0 PG_MAJOR_VERSION=13 TARGETARCH=arm64 /bin/sh -c set -ex; if [ "$PG_MAJOR_VERSION" -gt 15 ] && [ "$TARGETARCH" != "arm" ]; then apk update; apk add --no-cache --virtual .pgai-deps git build-base cargo python3-dev py3-pip; git clone --branch ${PGAI_VERSION} https://github.com/timescale/pgai.git /build/pgai; cp /build/pgai/ai--*.sql /usr/local/share/postgresql/extension/; cp /build/pgai/ai.control /usr/local/share/postgresql/extension/; pip install --verbose --break-system-packages -r /build/pgai/requirements.txt; apk del .pgai-deps; fi # buildkit
2024-07-02 18:51:45 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
2024-07-02 19:00:18 UTC (buildkit.dockerfile.v0)COPY /go/bin/* /usr/local/bin/ # buildkit
2024-07-02 19:00:19 UTC (buildkit.dockerfile.v0)COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
2024-07-02 19:00:20 UTC (buildkit.dockerfile.v0)COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
2024-07-02 19:00:20 UTC (buildkit.dockerfile.v0)ARG TS_VERSION=2.15.3
2024-07-02 19:15:23 UTC (buildkit.dockerfile.v0)RUN |5 OSS_ONLY= PGAI_VERSION=v0.2.0 PG_MAJOR_VERSION=13 TARGETARCH=arm64 TS_VERSION=2.15.3 /bin/sh -c set -ex && apk add --no-cache --virtual .fetch-deps ca-certificates git openssl openssl-dev tar && mkdir -p /build/ && git clone https://github.com/timescale/timescaledb /build/timescaledb && apk add --no-cache --virtual .build-deps coreutils dpkg-dev dpkg gcc krb5-dev libc-dev make cmake util-linux-dev && cd /build/timescaledb && rm -fr build && git checkout ${TS_VERSION} && ./bootstrap -DCMAKE_BUILD_TYPE=RelWithDebInfo -DREGRESS_CHECKS=OFF -DTAP_CHECKS=OFF -DGENERATE_DOWNGRADE_SCRIPT=ON -DWARNINGS_AS_ERRORS=OFF -DPROJECT_INSTALL_METHOD="docker"${OSS_ONLY} && cd build && make install && cd ~ && if [ "${OSS_ONLY}" != "" ]; then rm -f $(pg_config --pkglibdir)/timescaledb-tsl-*.so; fi && apk del .fetch-deps .build-deps && rm -rf /build && sed -r -i "s/[#]*\s*(shared_preload_libraries)\s*=\s*'(.*)'/\1 = 'timescaledb,\2'/;s/,'/'/" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
Please be careful as this will not just delete the reference but also the actual content!
For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.