Namespace
supabase
Image / Tag
postgres:17.6.0.063-orioledb-multigres_amd64
Content Digest
sha256:f4a1a6c8269536689b335939d35916df7176adbebf52a2056170a27be7479c60
Details
Created

2026-04-09 00:08:47 UTC

Size

362 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:589002ba0eaed121a1dbf42f6648f29e5be55d5c8a6ee0f8eaa0285cc21ac153 - 1.02% (3.68 MB)

[#001] sha256:e418cfb892bfaf6189f149e57507117dcaf079e3ff31519364c658065fda445d - 1.99% (7.19 MB)

[#002] sha256:457c8a52b76a97098d92163adc774d86df51cb5257e9fdd613470e25b4e68a2c - 0.0% (1 KB)

[#003] sha256:f3cd5abb4b86ddeadefe0bf28e54b8755ea963b2557f7a45340f1a16508547f7 - 0.0% (329 Bytes)

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

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

[#006] sha256:4a67640dc0a051801e51ee896bdfc543f3eeae8ee5ebc2637408d2a716c1fcef - 0.0% (1015 Bytes)

[#007] sha256:482bd5f7a3899eb9998812479ea7c789a49ef8e02db66d394e5935204cbf766a - 0.0% (341 Bytes)

[#008] sha256:a3955b8daad760982e449a1da831fb61d49b8db09b9f9e65e9caf2f1ac785278 - 0.0% (276 Bytes)

[#009] sha256:82d7a5b16623f4fad307f06e8b62ec3030df494bdaf707e1f9f2fb0481a45b05 - 0.0% (1.48 KB)

[#010] sha256:23470fffe0d81a805df98e35c91f7e95a850311e5c9a95aef75d0da2d5e84d89 - 0.0% (3.76 KB)

[#011] sha256:c9ae3e6205a48bdbc274c17b69c65cea1d7d1844929b364416ff28871d3ea355 - 0.0% (389 Bytes)

[#012] sha256:58f00cb907a04c04872f97fa3f3dbbe82af67f2cfa3aea60a15759e4a236746e - 0.0% (334 Bytes)

[#013] sha256:d75a47c9bab3d5359a86beb5ceab7087fd4e7b3d21ac7ca81351b8acbe7955dc - 0.0% (358 Bytes)

[#014] sha256:4d9c8854f920e4177fd3619164b9793f3b59c0fb507fcd7f78f615d11b309bd9 - 0.0% (8.49 KB)

[#015] sha256:9b2b566a4d30eb0317c55bbe97723cd400aa69190839efc2b4409ac198f9eeb9 - 0.0% (12.6 KB)

[#016] sha256:8dc5dbcb2136b55a495b6ba85d30603e836f8c7f723c0963fb3601247ae5e18b - 0.0% (522 Bytes)

[#017] sha256:4f3cc1496fa80f91f27ec77ed793eeb64f97d456395616a2e0090f594d8f802d - 0.0% (270 Bytes)

[#018] sha256:3a7bf677831d233c844185c3f6c2fdfc16887137fb63f4bf6d81a487c0f306bb - 96.75% (351 MB)

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

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

[#021] sha256:690e8bee110c98f4b58cc6b0459eef582709eb7e12c9579b8f1539deab8dbd42 - 0.0% (4.09 KB)

[#022] sha256:4f0e08f015e76ff1ca62e3f5e2bc92ca5fec45beceecd54b28c33707b977b287 - 0.0% (2.4 KB)

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

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

[#025] sha256:c34bf55e5007785e3e78c8e37c1900faffbc5f75c4a2d6620cd6b8e9175626bd - 0.0% (227 Bytes)

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

[#027] sha256:ec4fcdc8cd1be6f1a3ea5ed1749e0bc9f3c42c13794b3da838dad75d74254e0b - 0.0% (262 Bytes)


History
2026-01-28 01:18:04 UTC (buildkit.dockerfile.v0)

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

2026-01-28 01:18:04 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2026-04-08 11:14:22 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-08 11:14:22 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-08 11:14:22 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-08 11:14:22 UTC (buildkit.dockerfile.v0)

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

2026-04-08 11:14:22 UTC (buildkit.dockerfile.v0)

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

2026-04-08 11:14:22 UTC (buildkit.dockerfile.v0)

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

2026-04-08 11:14:22 UTC (buildkit.dockerfile.v0)

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

2026-04-08 11:14:22 UTC (buildkit.dockerfile.v0)

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

2026-04-08 11:14:22 UTC (buildkit.dockerfile.v0)

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

2026-04-08 11:14:22 UTC (buildkit.dockerfile.v0)

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

2026-04-08 11:14:22 UTC (buildkit.dockerfile.v0)

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

2026-04-08 11:14:22 UTC (buildkit.dockerfile.v0)

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

2026-04-08 11:14:22 UTC (buildkit.dockerfile.v0)

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

2026-04-08 11:14:22 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-08 11:14:22 UTC (buildkit.dockerfile.v0)

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

2026-04-08 11:14:22 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-08 11:14:22 UTC (buildkit.dockerfile.v0)

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

2026-04-09 00:08:46 UTC (buildkit.dockerfile.v0)

ENV PGDATA=/var/lib/postgresql/data

2026-04-09 00:08:46 UTC (buildkit.dockerfile.v0)

ENV POSTGRES_HOST=/var/run/postgresql

2026-04-09 00:08:46 UTC (buildkit.dockerfile.v0)

ENV POSTGRES_USER=supabase_admin

2026-04-09 00:08:46 UTC (buildkit.dockerfile.v0)

ENV POSTGRES_DB=postgres

2026-04-09 00:08:46 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-09 00:08:46 UTC (buildkit.dockerfile.v0)

ENV LANG=en_US.UTF-8

2026-04-09 00:08:46 UTC (buildkit.dockerfile.v0)

ENV LANGUAGE=en_US:en

2026-04-09 00:08:46 UTC (buildkit.dockerfile.v0)

ENV LC_ALL=en_US.UTF-8

2026-04-09 00:08:46 UTC (buildkit.dockerfile.v0)

ENV GRN_PLUGINS_DIR=/usr/lib/groonga/plugins

2026-04-09 00:08:46 UTC (buildkit.dockerfile.v0)

COPY /nix /nix # buildkit

2026-04-09 00:08:46 UTC (buildkit.dockerfile.v0)

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

2026-04-09 00:08:46 UTC (buildkit.dockerfile.v0)

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

2026-04-09 00:08:46 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-09 00:08:46 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-09 00:08:46 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-09 00:08:46 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-09 00:08:47 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-09 00:08:47 UTC (buildkit.dockerfile.v0)

ENV LANG=C

2026-04-09 00:08:47 UTC (buildkit.dockerfile.v0)

ENV LC_ALL=C

2026-04-09 00:08:47 UTC (buildkit.dockerfile.v0)

ENV LANGUAGE=C

2026-04-09 00:08:47 UTC (buildkit.dockerfile.v0)

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

2026-04-09 00:08:47 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-09 00:08:47 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-09 00:08:47 UTC (buildkit.dockerfile.v0)

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

2026-04-09 00:08:47 UTC (buildkit.dockerfile.v0)

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

2026-04-09 00:08:47 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGINT

2026-04-09 00:08:47 UTC (buildkit.dockerfile.v0)

USER postgres

2026-04-09 00:08:47 UTC (buildkit.dockerfile.v0)

EXPOSE map[5432/tcp:{}]

2026-04-09 00:08:47 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["tail"]

2026-04-09 00:08:47 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