Namespace
supabase
Image / Tag
postgres:17.6.0.066-orioledb-multigres_amd64
Content Digest
sha256:9889a5d345eeed6e7b256965cd3056e76858bdd42c4621ae670e559e7d7371ea
Details
Created

2026-04-21 20:10:13 UTC

Size

364 MB

Content Digest
Environment
GRN_PLUGINS_DIR

/usr/lib/groonga/plugins

LANG

C

LANGUAGE

C

LC_ALL

C

LOCALE_ARCHIVE

/nix/var/nix/profiles/default/lib/locale/locale-archive

PATH

/nix/var/nix/profiles/default/bin:/usr/lib/postgresql/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PGDATA

/var/lib/postgresql/data

POSTGRES_DB

postgres

POSTGRES_HOST

/var/run/postgresql

POSTGRES_INITDB_ARGS

--allow-group-access --locale-provider=icu --encoding=UTF-8 --icu-locale=en_US.UTF-8

POSTGRES_USER

supabase_admin


Layers

[#000] sha256:6a0ac1617861a677b045b7ff88545213ec31c0ff08763195a70a4a5adda577bb - 1.01% (3.69 MB)

[#001] sha256:bc9c48466d3ddb165aab4cd68e410751aa0101004d875efa9489fb764cba0142 - 1.98% (7.19 MB)

[#002] sha256:0f662115faaa44fa1df82855345ae57c40be176df58cd23c43cf5efe9ddd13a4 - 0.0% (1 KB)

[#003] sha256:601d5245385f69588ab1f76bc463fca9073fe137e8ef9e7315251a69483cbf0d - 0.0% (328 Bytes)

[#004] sha256:b33efc5aa837a202e0b868c7dc0438b9eb54a7a3fae36db57f890b08d489bcbb - 0.0% (8.34 KB)

[#005] sha256:6b8096d0cbd023d88f551ee28ac05609aa1bafc65960c85bac1706b5ef089887 - 0.0% (1.84 KB)

[#006] sha256:003907ac7b00748d73941a4b291c15cc45a004bd94200b19e371505e6d879e9f - 0.0% (1015 Bytes)

[#007] sha256:93cb47787f88bb0ea4e1220fe171f7081690b105bc89ee2c26e9bc344347055e - 0.0% (342 Bytes)

[#008] sha256:257df8ea2ee3718f93dfe1fc76d008931bde754cde1416fd7d5ec64278bf7192 - 0.0% (277 Bytes)

[#009] sha256:4b90cf382d307d0461264b2d198e893504438a4865ec9d31b9d4a24d1b874bfc - 0.0% (1.48 KB)

[#010] sha256:1e08076e3fb3c8be04a25d56d3f5019c443912891995a1f8a419f327c269f4b6 - 0.0% (3.76 KB)

[#011] sha256:6acbbd5e4ddc595afb779a436d786b0390f2d537742bf3e7a9e8e690254715de - 0.0% (392 Bytes)

[#012] sha256:d81ecf62cf230ac0fbf75ba5eeeabf4fafd205f11197cdb38a77a8a8ed04a7b1 - 0.0% (336 Bytes)

[#013] sha256:0b4521aee001fd5e40c070780f302d1c52d137664dab323c821b84356231912e - 0.0% (364 Bytes)

[#014] sha256:3c86e506a7e605510450989f7cce069a7c0f0e33ad236fef74bbfe72a2aca6d0 - 0.0% (8.5 KB)

[#015] sha256:42deabc0a0b33829213aa1f4f4d59e09ebb4db57f1526d989f89ebccad0c73f7 - 0.0% (12.7 KB)

[#016] sha256:b147ca1300a336539b4816b1c5b7a0b18cc6190b5a0445b2f1f979701c6f0820 - 0.0% (523 Bytes)

[#017] sha256:75e1846780ab7a2a740c7a3c1147ba5621ff843b0d1ef0b511f089b96baede5d - 0.0% (272 Bytes)

[#018] sha256:ec006cfd930fca70dafa9800f03ae1ed17e77fe0630d9bd87a2dd0dbf3d8178d - 96.76% (352 MB)

[#019] sha256:ac2592c48221960903d702130451c132693a74a92b25bea0c5916f81ff5fb046 - 0.02% (76.1 KB)

[#020] sha256:607f8cff544da49a80bec40b244ef1a1f977fad38956e8b66eb459893a21eeb4 - 0.21% (795 KB)

[#021] sha256:550bc8d56c40bc3285101474b40545577fa3a51be16f3e9b6f18447bcba69097 - 0.0% (4.09 KB)

[#022] sha256:8b479814ed6fb50f6addc066a05b04966a8f74a26c7240f452c1383564b3a692 - 0.0% (2.4 KB)

[#023] sha256:078a3a1b1ce42e9666070c248634221ed3d6956f4000bf105cc9b14648b81406 - 0.0% (1.46 KB)

[#024] sha256:285ca9c83b71c24b1f7a481c8dc790d6fbb24aef9b95c40c7d5d12bef57dbd1e - 0.0% (8.42 KB)

[#025] sha256:be010a7926526d67875525cfccfb19433d2f628568aba880dcf335953b2cb978 - 0.0% (224 Bytes)

[#026] sha256:3a576a74d7b23c0791cd1a48e6b3a76b31c80d06c0aceeec3802ce176f350824 - 0.0% (3.18 KB)

[#027] sha256:7eb36a40d89f73829b0d00a70877a60482fd0f8bff137fbf518f98be35725408 - 0.0% (261 Bytes)


History
2026-04-15 20:01:40 UTC (buildkit.dockerfile.v0)

ADD alpine-minirootfs-3.23.4-x86_64.tar.gz / # buildkit

2026-04-15 20:01:40 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2026-04-21 20:07:27 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apk add --no-cache bash curl openssh procps shadow su-exec tzdata musl-locales musl-locales-lang && rm -rf /var/cache/apk/* # buildkit

2026-04-21 20:07:27 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c addgroup -S postgres && adduser -S -G postgres -h /var/lib/postgresql -s /bin/bash postgres && addgroup -S wal-g && adduser -S -G wal-g -s /bin/bash wal-g && adduser postgres wal-g # buildkit

2026-04-21 20:07:27 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir -p /usr/lib/postgresql/bin /usr/lib/postgresql/share/postgresql /usr/share/postgresql /var/lib/postgresql/data /var/run/postgresql /etc/postgresql /etc/postgresql-custom && chown -R postgres:postgres /usr/lib/postgresql /var/lib/postgresql /usr/share/postgresql /var/run/postgresql /etc/postgresql /etc/postgresql-custom # buildkit

2026-04-21 20:07:27 UTC (buildkit.dockerfile.v0)

COPY ansible/files/postgresql_config/postgresql.conf.j2 /etc/postgresql/postgresql.conf # buildkit

2026-04-21 20:07:27 UTC (buildkit.dockerfile.v0)

COPY ansible/files/postgresql_config/pg_hba.conf.j2 /etc/postgresql/pg_hba.conf # buildkit

2026-04-21 20:07:27 UTC (buildkit.dockerfile.v0)

COPY ansible/files/postgresql_config/pg_ident.conf.j2 /etc/postgresql/pg_ident.conf # buildkit

2026-04-21 20:07:27 UTC (buildkit.dockerfile.v0)

COPY ansible/files/postgresql_config/conf.d /etc/postgresql-custom/conf.d # buildkit

2026-04-21 20:07:27 UTC (buildkit.dockerfile.v0)

COPY ansible/files/postgresql_config/postgresql-stdout-log.conf /etc/postgresql/logging.conf # buildkit

2026-04-21 20:07:27 UTC (buildkit.dockerfile.v0)

COPY ansible/files/postgresql_config/supautils.conf.j2 /etc/postgresql-custom/supautils.conf # buildkit

2026-04-21 20:07:27 UTC (buildkit.dockerfile.v0)

COPY ansible/files/postgresql_extension_custom_scripts /etc/postgresql-custom/extension-custom-scripts # buildkit

2026-04-21 20:07:28 UTC (buildkit.dockerfile.v0)

COPY ansible/files/postgresql_config/custom_walg.conf /etc/postgresql-custom/wal-g.conf # buildkit

2026-04-21 20:07:28 UTC (buildkit.dockerfile.v0)

COPY ansible/files/postgresql_config/custom_read_replica.conf /etc/postgresql-custom/read-replica.conf # buildkit

2026-04-21 20:07:28 UTC (buildkit.dockerfile.v0)

COPY ansible/files/pgsodium_getkey_urandom.sh.j2 /usr/lib/postgresql/bin/pgsodium_getkey.sh # buildkit

2026-04-21 20:07:28 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c sed -i -e "s|#unix_socket_directories = '/tmp'|unix_socket_directories = '/var/run/postgresql'|g" -e "s|#session_preload_libraries = ''|session_preload_libraries = 'supautils'|g" -e "s|#include = '/etc/postgresql-custom/supautils.conf'|include = '/etc/postgresql-custom/supautils.conf'|g" -e "s|#include = '/etc/postgresql-custom/wal-g.conf'|include = '/etc/postgresql-custom/wal-g.conf'|g" -e "s/ timescaledb,//g" -e "s/ pgsodium,//g" -e "s/db_user_namespace = off/#db_user_namespace = off/g" /etc/postgresql/postgresql.conf && echo "pgsodium.getkey_script= '/usr/lib/postgresql/bin/pgsodium_getkey.sh'" >> /etc/postgresql/postgresql.conf && echo "vault.getkey_script= '/usr/lib/postgresql/bin/pgsodium_getkey.sh'" >> /etc/postgresql/postgresql.conf && chown -R postgres:postgres /etc/postgresql-custom && mkdir -p /usr/share/postgresql/extension/ && ln -s /usr/lib/postgresql/bin/pgsodium_getkey.sh /usr/share/postgresql/extension/pgsodium_getkey && chmod +x /usr/lib/postgresql/bin/pgsodium_getkey.sh # buildkit

2026-04-21 20:07:28 UTC (buildkit.dockerfile.v0)

COPY migrations/db /docker-entrypoint-initdb.d/ # buildkit

2026-04-21 20:07:28 UTC (buildkit.dockerfile.v0)

COPY ansible/files/pgbouncer_config/pgbouncer_auth_schema.sql /docker-entrypoint-initdb.d/init-scripts/00-schema.sql # buildkit

2026-04-21 20:07:28 UTC (buildkit.dockerfile.v0)

COPY ansible/files/stat_extension.sql /docker-entrypoint-initdb.d/migrations/00-extension.sql # buildkit

2026-04-21 20:10:13 UTC (buildkit.dockerfile.v0)

ENV PGDATA=/var/lib/postgresql/data

2026-04-21 20:10:13 UTC (buildkit.dockerfile.v0)

ENV POSTGRES_HOST=/var/run/postgresql

2026-04-21 20:10:13 UTC (buildkit.dockerfile.v0)

ENV POSTGRES_USER=supabase_admin

2026-04-21 20:10:13 UTC (buildkit.dockerfile.v0)

ENV POSTGRES_DB=postgres

2026-04-21 20:10:13 UTC (buildkit.dockerfile.v0)

ENV POSTGRES_INITDB_ARGS=--allow-group-access --locale-provider=icu --encoding=UTF-8 --icu-locale=en_US.UTF-8

2026-04-21 20:10:13 UTC (buildkit.dockerfile.v0)

ENV LANG=en_US.UTF-8

2026-04-21 20:10:13 UTC (buildkit.dockerfile.v0)

ENV LANGUAGE=en_US:en

2026-04-21 20:10:13 UTC (buildkit.dockerfile.v0)

ENV LC_ALL=en_US.UTF-8

2026-04-21 20:10:13 UTC (buildkit.dockerfile.v0)

ENV GRN_PLUGINS_DIR=/usr/lib/groonga/plugins

2026-04-21 20:10:13 UTC (buildkit.dockerfile.v0)

COPY /nix /nix # buildkit

2026-04-21 20:10:13 UTC (buildkit.dockerfile.v0)

COPY /tmp/groonga-plugins/plugins /usr/lib/groonga/plugins # buildkit

2026-04-21 20:10:13 UTC (buildkit.dockerfile.v0)

COPY /usr/local/bin/gosu /usr/local/bin/gosu # buildkit

2026-04-21 20:10:13 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c for f in /nix/var/nix/profiles/default/bin/*; do ln -sf "$f" /usr/lib/postgresql/bin/ 2>/dev/null || true; ln -sf "$f" /usr/bin/ 2>/dev/null || true; done && ln -sf /nix/var/nix/profiles/default/share/postgresql/* /usr/lib/postgresql/share/postgresql/ 2>/dev/null || true && ln -sf /nix/var/nix/profiles/default/share/postgresql/* /usr/share/postgresql/ 2>/dev/null || true && ln -sf /usr/lib/postgresql/share/postgresql/timezonesets /usr/share/postgresql/timezonesets 2>/dev/null || true # buildkit

2026-04-21 20:10:13 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c chown -R postgres:postgres /usr/lib/postgresql && chown -R postgres:postgres /usr/share/postgresql # buildkit

2026-04-21 20:10:13 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c sed -i 's/ timescaledb,//g; s/ plv8,//g; s/ postgis,//g; s/ pgrouting,//g' /etc/postgresql-custom/supautils.conf # buildkit

2026-04-21 20:10:13 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c sed -i "s/\(shared_preload_libraries.*\)'/\1, orioledb'/" /etc/postgresql/postgresql.conf && echo "default_table_access_method = 'orioledb'" >> /etc/postgresql/postgresql.conf && echo "orioledb.enable_rewind = true" >> /etc/postgresql/postgresql.conf && echo "orioledb.rewind_max_time = 1200" >> /etc/postgresql/postgresql.conf && echo "orioledb.rewind_max_transactions = 100000" >> /etc/postgresql/postgresql.conf && echo "orioledb.rewind_buffers = 1280" >> /etc/postgresql/postgresql.conf # buildkit

2026-04-21 20:10:13 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c echo "CREATE EXTENSION orioledb;" > /docker-entrypoint-initdb.d/init-scripts/00-pre-init.sql && chown postgres:postgres /docker-entrypoint-initdb.d/init-scripts/00-pre-init.sql # buildkit

2026-04-21 20:10:13 UTC (buildkit.dockerfile.v0)

ENV LANG=C

2026-04-21 20:10:13 UTC (buildkit.dockerfile.v0)

ENV LC_ALL=C

2026-04-21 20:10:13 UTC (buildkit.dockerfile.v0)

ENV LANGUAGE=C

2026-04-21 20:10:13 UTC (buildkit.dockerfile.v0)

COPY docker/pgctld/orioledb-postgresql.conf.tmpl /etc/pgctld-custom/orioledb-postgresql.conf.tmpl # buildkit

2026-04-21 20:10:13 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c printf '#!/bin/sh\nexec /nix/var/nix/profiles/default/bin/pgctld --postgres-config-template /etc/pgctld-custom/orioledb-postgresql.conf.tmpl "$@"\n' > /usr/local/bin/pgctld && chmod +x /usr/local/bin/pgctld # buildkit

2026-04-21 20:10:13 UTC (buildkit.dockerfile.v0)

ENV PATH=/nix/var/nix/profiles/default/bin:/usr/lib/postgresql/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2026-04-21 20:10:13 UTC (buildkit.dockerfile.v0)

ENV LOCALE_ARCHIVE=/nix/var/nix/profiles/default/lib/locale/locale-archive

2026-04-21 20:10:13 UTC (buildkit.dockerfile.v0)

HEALTHCHECK &{["CMD-SHELL" "pg_isready -U postgres -h localhost || true"] "30s" "5s" "10s" "0s" '\x03'}

2026-04-21 20:10:13 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGINT

2026-04-21 20:10:13 UTC (buildkit.dockerfile.v0)

USER postgres

2026-04-21 20:10:13 UTC (buildkit.dockerfile.v0)

EXPOSE map[5432/tcp:{}]

2026-04-21 20:10:13 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["tail"]

2026-04-21 20:10:13 UTC (buildkit.dockerfile.v0)

CMD ["-f" "/dev/null"]

Danger Zone
Delete Tag

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.

Delete