Namespace
nextcloud
Image / Tag
aio-postgresql:20260515_145717
Content Digest
sha256:875d02d3aee4419d6b7a10d97bfb1561f05cdce312ea933579965997e530832b
Details
Created

2026-05-15 14:00:21 UTC

Size

109 MB

Content Digest
Labels
  • com.centurylinklabs.watchtower.enable
    false
  • org.opencontainers.image.description
    PostgreSQL database for Nextcloud All-in-One
  • org.opencontainers.image.documentation
    https://github.com/nextcloud/all-in-one/blob/main/readme.md
  • org.opencontainers.image.source
    https://github.com/nextcloud/all-in-one
  • org.opencontainers.image.title
    PostgreSQL for Nextcloud AIO
  • org.opencontainers.image.url
    https://github.com/nextcloud/all-in-one
  • org.opencontainers.image.vendor
    Nextcloud
  • wud.watch
    false

Environment
DOCKER_PG_LLVM_DEPS

llvm19-dev clang19

GOSU_VERSION

1.19

LANG

en_US.utf8

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PGDATA

/var/lib/postgresql/data

PG_MAJOR

18

PG_SHA256

81a81ec695fb0c7901407defaa1d2f7973617154cf27ba74e3a7ab8e64436094

PG_VERSION

18.4


Layers

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

[#001] sha256:6797fe14fc379b8d4419f4610d9aaf73bd7ff43d089470e71f7e9342234f8945 - 0.0% (971 Bytes)

[#002] sha256:cb0e827e838987c21b8b34287641c24d4a073f6bc81682d558e0ae4cbc588520 - 0.8% (898 KB)

[#003] sha256:3771f4eeb917862962c208c27d7ba2aef9960db42950fc3f542b4c68bdf998d1 - 0.0% (116 Bytes)

[#004] sha256:4e227c0c29b0342a47cce0cbeea6bc0d910c09145ab314b129f4c124530af247 - 95.34% (104 MB)

[#005] sha256:cb2ae37abf29132e0e3f274813ba47188c06c17578b2169a961d1cd933481a7c - 0.02% (18.5 KB)

[#006] sha256:033acd588901f9f4f19b4a746b3344bf0a9c6ab9db0f99efb7eade678f55ad03 - 0.0% (129 Bytes)

[#007] sha256:56e975b78d088b103fb4744d223e4455387520c487479196b44b8e09f5487bde - 0.01% (5.95 KB)

[#008] sha256:05f6e8830d21674c84b07722ab639afb87dd6670ab1a270ed765ba70eb878e4e - 0.0% (183 Bytes)

[#009] sha256:5422cf1ba0f28446ea333258f20badb7220185cfed9bcf880d3465144cc5b00c - 0.0% (3.71 KB)

[#010] sha256:be1bc749f4f2740435b2d490528e3a6b585a639abf3a89bb4ae3b20d25a0f88a - 0.0% (362 Bytes)

[#011] sha256:4131549e61cf3413a6679a242f639712cf29749448f1c3046182cc5a6d01a26f - 0.0% (466 Bytes)

[#012] sha256:ab344b01f77c580cdeac566bc94a5a682bd68955cbba61b13796db24c88e3d09 - 0.46% (513 KB)


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-05-14 18:58:31 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; install --verbose --directory --owner postgres --group postgres --mode 1777 /var/lib/postgresql # buildkit

2026-05-14 18:58:33 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.19

2026-05-14 18:58:33 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

2026-05-14 18:58:33 UTC (buildkit.dockerfile.v0)

ENV LANG=en_US.utf8

2026-05-14 18:58:34 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit

2026-05-14 18:58:34 UTC (buildkit.dockerfile.v0)

ENV PG_MAJOR=18

2026-05-14 18:58:34 UTC (buildkit.dockerfile.v0)

ENV PG_VERSION=18.4

2026-05-14 18:58:34 UTC (buildkit.dockerfile.v0)

ENV PG_SHA256=81a81ec695fb0c7901407defaa1d2f7973617154cf27ba74e3a7ab8e64436094

2026-05-14 18:58:34 UTC (buildkit.dockerfile.v0)

ENV DOCKER_PG_LLVM_DEPS=llvm19-dev clang19

2026-05-14 19:00:46 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 lz4-dev zstd-dev curl-dev liburing-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)"; export LLVM_CONFIG="/usr/lib/llvm19/bin/llvm-config"; export CLANG=clang-19; ./configure --enable-option-checking=fatal --build="$gnuArch" --enable-integer-datetimes --enable-tap-tests --disable-rpath --with-uuid=e2fs --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-icu --with-ldap --with-libcurl --with-liburing --with-libxml --with-libxslt --with-llvm --with-lz4 --with-openssl --with-perl --with-python --with-tcl --with-zstd ; 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

2026-05-14 19:00:46 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

2026-05-14 19:00:46 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit

2026-05-14 19:00:46 UTC (buildkit.dockerfile.v0)

ENV PGDATA=/var/lib/postgresql/18/docker

2026-05-14 19:00:46 UTC (buildkit.dockerfile.v0)

VOLUME [/var/lib/postgresql]

2026-05-14 19:00:46 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit

2026-05-14 19:00:46 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit

2026-05-14 19:00:46 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2026-05-14 19:00:46 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGINT

2026-05-14 19:00:46 UTC (buildkit.dockerfile.v0)

EXPOSE map[5432/tcp:{}]

2026-05-14 19:00:46 UTC (buildkit.dockerfile.v0)

CMD ["postgres"]

2026-05-15 14:00:19 UTC (buildkit.dockerfile.v0)

ENV PGDATA=/var/lib/postgresql/data

2026-05-15 14:00:19 UTC (buildkit.dockerfile.v0)

COPY --chmod=775 start.sh /start.sh # buildkit

2026-05-15 14:00:19 UTC (buildkit.dockerfile.v0)

COPY --chmod=775 healthcheck.sh /healthcheck.sh # buildkit

2026-05-15 14:00:19 UTC (buildkit.dockerfile.v0)

COPY --chmod=775 init-user-db.sh /docker-entrypoint-initdb.d/init-user-db.sh # buildkit

2026-05-15 14:00:21 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; apk upgrade --no-cache -a; apk add --no-cache bash openssl shadow netcat-openbsd grep; deluser postgres; groupmod -g 9999 ping; addgroup -g 999 -S postgres; adduser -u 999 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; apk del --no-cache shadow; mkdir -p /var/lib/postgresql/data; chown -R postgres:postgres /var/lib/postgresql; chown -R postgres:postgres /var/run/postgresql; chmod -R 777 /var/run/postgresql; chown -R postgres:postgres "$PGDATA"; mkdir /mnt/data; chown postgres:postgres /mnt/data; echo "root:$(openssl rand -base64 12)" | chpasswd; apk --no-cache del openssl; rm -f /usr/local/bin/gosu /usr/local/bin/su-exec; # buildkit

2026-05-15 14:00:21 UTC (buildkit.dockerfile.v0)

VOLUME [/mnt/data]

2026-05-15 14:00:21 UTC (buildkit.dockerfile.v0)

USER 999

2026-05-15 14:00:21 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/start.sh"]

2026-05-15 14:00:21 UTC (buildkit.dockerfile.v0)

HEALTHCHECK &{["CMD-SHELL" "/healthcheck.sh"] "0s" "0s" "0s" "0s" '\x00'}

2026-05-15 14:00:21 UTC (buildkit.dockerfile.v0)

LABEL com.centurylinklabs.watchtower.enable=false wud.watch=false org.opencontainers.image.title=PostgreSQL for Nextcloud AIO org.opencontainers.image.description=PostgreSQL database for Nextcloud All-in-One org.opencontainers.image.url=https://github.com/nextcloud/all-in-one org.opencontainers.image.source=https://github.com/nextcloud/all-in-one org.opencontainers.image.vendor=Nextcloud org.opencontainers.image.documentation=https://github.com/nextcloud/all-in-one/blob/main/readme.md

Details
Created

2026-05-15 14:00:58 UTC

Size

108 MB

Content Digest
Labels
  • com.centurylinklabs.watchtower.enable
    false
  • org.opencontainers.image.description
    PostgreSQL database for Nextcloud All-in-One
  • org.opencontainers.image.documentation
    https://github.com/nextcloud/all-in-one/blob/main/readme.md
  • org.opencontainers.image.source
    https://github.com/nextcloud/all-in-one
  • org.opencontainers.image.title
    PostgreSQL for Nextcloud AIO
  • org.opencontainers.image.url
    https://github.com/nextcloud/all-in-one
  • org.opencontainers.image.vendor
    Nextcloud
  • wud.watch
    false

Environment
DOCKER_PG_LLVM_DEPS

llvm19-dev clang19

GOSU_VERSION

1.19

LANG

en_US.utf8

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PGDATA

/var/lib/postgresql/data

PG_MAJOR

18

PG_SHA256

81a81ec695fb0c7901407defaa1d2f7973617154cf27ba74e3a7ab8e64436094

PG_VERSION

18.4


Layers

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

[#001] sha256:711e5858ee84a969022a9a0d6195c602869112d0085ce0e234ca279b23618e97 - 0.0% (971 Bytes)

[#002] sha256:a1a706e68cefc6070dbc62e69bdc9345ec2387f8a6671e393f9f7c12f71c9a7f - 0.77% (854 KB)

[#003] sha256:6593d34795df33b7f531a48716d6b3469d68e0aece8cb2d6fc09a4c2f2ed85c0 - 0.0% (116 Bytes)

[#004] sha256:9dc4b7c45bcdbbff510d778c39af07cde0641e85acd159a27a7886331ecbc470 - 94.7% (102 MB)

[#005] sha256:bafb48e71e3f837d405a13e8ece2d90aa407e62fac72a476eb11ba6e17fa8099 - 0.02% (18.5 KB)

[#006] sha256:490979c94522dc839bf23bb51089b8054c728e35e7379c8d624859c56686d151 - 0.0% (128 Bytes)

[#007] sha256:3d8c1bc6659ededaf1a34cb0eb112d32fe8df9a8527d6a9aadd8232b714fadde - 0.01% (5.96 KB)

[#008] sha256:9c1e0f12c6b24a2c339b65fd2c3f523b9e8c6bf52385c811a892b2e47893e87f - 0.0% (184 Bytes)

[#009] sha256:3ac3903c3c12d8282592d24cef1e6784f1cab210a697310b7ec2aa8380a37847 - 0.0% (3.71 KB)

[#010] sha256:78679635649cee82fe9a20815a0c3fc2b9ef27d0615dee8998bcd39d8e7cf67e - 0.0% (362 Bytes)

[#011] sha256:8d339d07513b21173c583532e0a8750ee5278f355b88fbf19a8b1a82a98766ea - 0.0% (466 Bytes)

[#012] sha256:a69b72bf108565d928305bfd3c1d01181036096c11716dd881db5a1a5b143d44 - 0.79% (868 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-14 18:58:02 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; install --verbose --directory --owner postgres --group postgres --mode 1777 /var/lib/postgresql # buildkit

2026-05-14 18:58:05 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.19

2026-05-14 18:58:05 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

2026-05-14 18:58:05 UTC (buildkit.dockerfile.v0)

ENV LANG=en_US.utf8

2026-05-14 18:58:05 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit

2026-05-14 18:58:05 UTC (buildkit.dockerfile.v0)

ENV PG_MAJOR=18

2026-05-14 18:58:05 UTC (buildkit.dockerfile.v0)

ENV PG_VERSION=18.4

2026-05-14 18:58:05 UTC (buildkit.dockerfile.v0)

ENV PG_SHA256=81a81ec695fb0c7901407defaa1d2f7973617154cf27ba74e3a7ab8e64436094

2026-05-14 18:58:05 UTC (buildkit.dockerfile.v0)

ENV DOCKER_PG_LLVM_DEPS=llvm19-dev clang19

2026-05-14 19:00:38 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 lz4-dev zstd-dev curl-dev liburing-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)"; export LLVM_CONFIG="/usr/lib/llvm19/bin/llvm-config"; export CLANG=clang-19; ./configure --enable-option-checking=fatal --build="$gnuArch" --enable-integer-datetimes --enable-tap-tests --disable-rpath --with-uuid=e2fs --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-icu --with-ldap --with-libcurl --with-liburing --with-libxml --with-libxslt --with-llvm --with-lz4 --with-openssl --with-perl --with-python --with-tcl --with-zstd ; 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

2026-05-14 19:00:38 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

2026-05-14 19:00:38 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit

2026-05-14 19:00:38 UTC (buildkit.dockerfile.v0)

ENV PGDATA=/var/lib/postgresql/18/docker

2026-05-14 19:00:38 UTC (buildkit.dockerfile.v0)

VOLUME [/var/lib/postgresql]

2026-05-14 19:00:38 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit

2026-05-14 19:00:38 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit

2026-05-14 19:00:38 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2026-05-14 19:00:38 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGINT

2026-05-14 19:00:38 UTC (buildkit.dockerfile.v0)

EXPOSE map[5432/tcp:{}]

2026-05-14 19:00:38 UTC (buildkit.dockerfile.v0)

CMD ["postgres"]

2026-05-15 14:00:56 UTC (buildkit.dockerfile.v0)

ENV PGDATA=/var/lib/postgresql/data

2026-05-15 14:00:56 UTC (buildkit.dockerfile.v0)

COPY --chmod=775 start.sh /start.sh # buildkit

2026-05-15 14:00:56 UTC (buildkit.dockerfile.v0)

COPY --chmod=775 healthcheck.sh /healthcheck.sh # buildkit

2026-05-15 14:00:56 UTC (buildkit.dockerfile.v0)

COPY --chmod=775 init-user-db.sh /docker-entrypoint-initdb.d/init-user-db.sh # buildkit

2026-05-15 14:00:58 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; apk upgrade --no-cache -a; apk add --no-cache bash openssl shadow netcat-openbsd grep; deluser postgres; groupmod -g 9999 ping; addgroup -g 999 -S postgres; adduser -u 999 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; apk del --no-cache shadow; mkdir -p /var/lib/postgresql/data; chown -R postgres:postgres /var/lib/postgresql; chown -R postgres:postgres /var/run/postgresql; chmod -R 777 /var/run/postgresql; chown -R postgres:postgres "$PGDATA"; mkdir /mnt/data; chown postgres:postgres /mnt/data; echo "root:$(openssl rand -base64 12)" | chpasswd; apk --no-cache del openssl; rm -f /usr/local/bin/gosu /usr/local/bin/su-exec; # buildkit

2026-05-15 14:00:58 UTC (buildkit.dockerfile.v0)

VOLUME [/mnt/data]

2026-05-15 14:00:58 UTC (buildkit.dockerfile.v0)

USER 999

2026-05-15 14:00:58 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/start.sh"]

2026-05-15 14:00:58 UTC (buildkit.dockerfile.v0)

HEALTHCHECK &{["CMD-SHELL" "/healthcheck.sh"] "0s" "0s" "0s" "0s" '\x00'}

2026-05-15 14:00:58 UTC (buildkit.dockerfile.v0)

LABEL com.centurylinklabs.watchtower.enable=false wud.watch=false org.opencontainers.image.title=PostgreSQL for Nextcloud AIO org.opencontainers.image.description=PostgreSQL database for Nextcloud All-in-One org.opencontainers.image.url=https://github.com/nextcloud/all-in-one org.opencontainers.image.source=https://github.com/nextcloud/all-in-one org.opencontainers.image.vendor=Nextcloud org.opencontainers.image.documentation=https://github.com/nextcloud/all-in-one/blob/main/readme.md

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