Namespace
supabase
Image / Tag
postgres:17.6.0.080-orioledb-mg-1-multigres_arm64
Content Digest
sha256:8a852b73078a1bc1c7c68e3ca78bdba8f2d5004bb97d71d95a657630b8f718f5
Details
Created

2026-05-20 14:47:05 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_INITDB_SQL_FILES

/docker-entrypoint-initdb.d/multigres-init.sql

POSTGRES_USER

supabase_admin


Layers

[#000] sha256:d17f077ada118cc762df373ff803592abf2dfa3ddafaa7381e364dd27a88fca7 - 1.1% (4.01 MB)

[#001] sha256:5aa0aa43fa8eff36a81fe7829755de629a6d98099b2a25c1619262ee61cc2b85 - 2.0% (7.26 MB)

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

[#003] sha256:b31b78a0e5c55751ebc64f002fb383167ef641101e3e6db7c2f2ad6946e8d518 - 0.0% (334 Bytes)

[#004] sha256:bb4b78cce35d5731bfa65f20ad9b57cde0265b716e18b7814a7a5e7b2963b8c3 - 0.0% (8.33 KB)

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

[#006] sha256:16182c0794c9b24e336e8a8c4274ebc76b12c03c03538f35e3721701254519f3 - 0.0% (1015 Bytes)

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

[#008] sha256:67e8afe2ad92d961b93376b807d3d8175c6c1d65ad07fccf8a24118693fc8e8d - 0.0% (277 Bytes)

[#009] sha256:e404afcd589959997a5c2aecb223d4a936c42aa527bf0c1d927d8b10a52e197a - 0.0% (1.49 KB)

[#010] sha256:4cb159fe0e79831729f0e6f600b4c0e06e0fa87a36999a837beda61003898eea - 0.0% (3.76 KB)

[#011] sha256:048848e8f5d6f4f1d4d4fc22658f7074a7cd1e3472a1eb83eac7ec7247cac75e - 0.0% (388 Bytes)

[#012] sha256:e19f6a87c6250ca6a0951f6e657ee3d6d3cbb9e47a03a3817a4b8a4d5c8332bc - 0.0% (335 Bytes)

[#013] sha256:bcb60993a45d2e97d5096fa61d84930c347807b38cc8395a2a7e6907c3945120 - 0.0% (360 Bytes)

[#014] sha256:1886073fb66f35efa43b5a61ee7b90ebb8e3680cdf3c7974b81e9e5a3a858330 - 0.0% (8.49 KB)

[#015] sha256:9f5c51fc38ea3c2c142a830215abb3c519b37f1d911dbd628c4bd7d5bd39a0da - 0.0% (13.2 KB)

[#016] sha256:6416634fd18127906cdd5c2401fd359145d4c9543e3532a3ea791d955fcacb7d - 0.0% (522 Bytes)

[#017] sha256:2218d592205940ecf9b0e7a2b458b3b534f990b1c460713ab87b409ea974edfd - 0.0% (270 Bytes)

[#018] sha256:bc8552b58aeaabed352921cfe1ea340c4a58bc4fcd34a2dbd961645753927d7c - 96.66% (351 MB)

[#019] sha256:8e6533a47aed650ddae04f24967917e243af1cdad47b46a8e106fb96a8524fcd - 0.03% (99.7 KB)

[#020] sha256:2e55c5582a64c8b1ddea23a0b13a3df18b76fa309a9e3def511b8c372ede8134 - 0.2% (731 KB)

[#021] sha256:9ffcead085d12d9cd7fbb08d772d450910f75f013f1fe2b677a8677542551ba3 - 0.0% (4.09 KB)

[#022] sha256:677f2705990d67fdc310ff3d65c9cafc0480014a110e4ef3c415c11d9665375d - 0.0% (2.4 KB)

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

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

[#025] sha256:63b4341db4c548e3588aacfc7f9b80d05d2e1951068e73e7adfd0c5eff8ad18e - 0.0% (223 Bytes)

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

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

[#028] sha256:0dd4d32486e6036f32dd8b90342217cbfa2be9003806022d9aa3164115b174b8 - 0.0% (1.46 KB)


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

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

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

CMD ["/bin/sh"]

2026-05-20 14:44:43 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-05-20 14:44:43 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-05-20 14:44:44 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-05-20 14:44:44 UTC (buildkit.dockerfile.v0)

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

2026-05-20 14:44:44 UTC (buildkit.dockerfile.v0)

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

2026-05-20 14:44:44 UTC (buildkit.dockerfile.v0)

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

2026-05-20 14:44:44 UTC (buildkit.dockerfile.v0)

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

2026-05-20 14:44:44 UTC (buildkit.dockerfile.v0)

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

2026-05-20 14:44:44 UTC (buildkit.dockerfile.v0)

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

2026-05-20 14:44:44 UTC (buildkit.dockerfile.v0)

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

2026-05-20 14:44:44 UTC (buildkit.dockerfile.v0)

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

2026-05-20 14:44:44 UTC (buildkit.dockerfile.v0)

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

2026-05-20 14:44:44 UTC (buildkit.dockerfile.v0)

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

2026-05-20 14:44:44 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/ timescaledb,//g" -e "s/ pgsodium,//g" -e "s/db_user_namespace = off/#db_user_namespace = off/g" -e "s|^data_directory |#data_directory |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-05-20 14:44:44 UTC (buildkit.dockerfile.v0)

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

2026-05-20 14:44:44 UTC (buildkit.dockerfile.v0)

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

2026-05-20 14:44:44 UTC (buildkit.dockerfile.v0)

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

2026-05-20 14:47:04 UTC (buildkit.dockerfile.v0)

ENV PGDATA=/var/lib/postgresql/data

2026-05-20 14:47:04 UTC (buildkit.dockerfile.v0)

ENV POSTGRES_HOST=/var/run/postgresql

2026-05-20 14:47:04 UTC (buildkit.dockerfile.v0)

ENV POSTGRES_USER=supabase_admin

2026-05-20 14:47:04 UTC (buildkit.dockerfile.v0)

ENV POSTGRES_DB=postgres

2026-05-20 14:47:04 UTC (buildkit.dockerfile.v0)

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

2026-05-20 14:47:04 UTC (buildkit.dockerfile.v0)

ENV LANG=en_US.UTF-8

2026-05-20 14:47:04 UTC (buildkit.dockerfile.v0)

ENV LANGUAGE=en_US:en

2026-05-20 14:47:04 UTC (buildkit.dockerfile.v0)

ENV LC_ALL=en_US.UTF-8

2026-05-20 14:47:04 UTC (buildkit.dockerfile.v0)

ENV GRN_PLUGINS_DIR=/usr/lib/groonga/plugins

2026-05-20 14:47:04 UTC (buildkit.dockerfile.v0)

COPY /nix /nix # buildkit

2026-05-20 14:47:04 UTC (buildkit.dockerfile.v0)

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

2026-05-20 14:47:04 UTC (buildkit.dockerfile.v0)

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

2026-05-20 14:47:04 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-05-20 14:47:04 UTC (buildkit.dockerfile.v0)

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

2026-05-20 14:47:04 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-05-20 14:47:04 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-05-20 14:47:04 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-05-20 14:47:04 UTC (buildkit.dockerfile.v0)

ENV LANG=C

2026-05-20 14:47:04 UTC (buildkit.dockerfile.v0)

ENV LC_ALL=C

2026-05-20 14:47:04 UTC (buildkit.dockerfile.v0)

ENV LANGUAGE=C

2026-05-20 14:47:04 UTC (buildkit.dockerfile.v0)

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

2026-05-20 14:47:04 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-05-20 14:47:05 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -e && manifest=/docker-entrypoint-initdb.d/multigres-init.sql && printf -- "-- Auto-generated: run init-scripts and migrations after initdb\n" > "$manifest" && printf "DO \$\$ BEGIN\n IF NOT EXISTS (SELECT FROM pg_roles WHERE rolname = 'postgres') THEN\n CREATE ROLE postgres SUPERUSER LOGIN;\n END IF;\nEND \$\$;\n" >> "$manifest" && printf "ALTER DATABASE postgres OWNER TO postgres;\n\n" >> "$manifest" && printf "SET SESSION AUTHORIZATION postgres;\n" >> "$manifest" && for f in $(ls /docker-entrypoint-initdb.d/init-scripts/*.sql 2>/dev/null | sort); do printf '\\ir init-scripts/%s\n' "$(basename "$f")" >> "$manifest"; done && printf "\nRESET SESSION AUTHORIZATION;\n\n" >> "$manifest" && for f in $(ls /docker-entrypoint-initdb.d/migrations/*.sql 2>/dev/null | sort); do printf '\\ir migrations/%s\n' "$(basename "$f")" >> "$manifest"; done && chown postgres:postgres "$manifest" # buildkit

2026-05-20 14:47:05 UTC (buildkit.dockerfile.v0)

ENV POSTGRES_INITDB_SQL_FILES=/docker-entrypoint-initdb.d/multigres-init.sql

2026-05-20 14:47:05 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-05-20 14:47:05 UTC (buildkit.dockerfile.v0)

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

2026-05-20 14:47:05 UTC (buildkit.dockerfile.v0)

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

2026-05-20 14:47:05 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGINT

2026-05-20 14:47:05 UTC (buildkit.dockerfile.v0)

USER postgres

2026-05-20 14:47:05 UTC (buildkit.dockerfile.v0)

EXPOSE map[5432/tcp:{}]

2026-05-20 14:47:05 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["tail"]

2026-05-20 14:47:05 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