Namespace
nextcloud
Image / Tag
aio-postgresql:20230613_120442-latest
Content Digest
sha256:a34998fa60cd09785addd4f1b3ceda83ed71292a17c8b804776f01b61443ebd4
Details
Created

2023-06-13 07:16:16 UTC

Size

91.7 MB

Content Digest
Labels
  • com.centurylinklabs.watchtower.monitor-only
    true

Environment
DOCKER_PG_LLVM_DEPS

llvm15-dev clang15

LANG

en_US.utf8

PATH

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

PGDATA

/var/lib/postgresql/data

PG_MAJOR

15

PG_SHA256

ffc7d4891f00ffbf5c3f4eab7fbbced8460b8c0ee63c5a5167133b9e6599d932

PG_VERSION

15.3


Layers

[#000] sha256:8a49fdb3b6a5ff2bd8ec6a86c05b2922a0f7454579ecc07637e94dfd1d0639b6 - 3.53% (3.24 MB)

[#001] sha256:397880efeff2e0a94cc49f859780ff532955c8778d655e68a67b1d609a6bfb45 - 0.0% (1.26 KB)

[#002] sha256:7981ad2d616c5a6eb0618199d194500533df0f0e223f3679527c52722611a98e - 0.0% (149 Bytes)

[#003] sha256:4fd21bb223d93065756cc66d1e5de1d3a131dd43cfb17ed9b0aa98d03ac02a5a - 93.54% (85.8 MB)

[#004] sha256:5a558988fd885d38d5b4158d3e1c21558ade6977f3200ad1aa957c0e4825258c - 0.01% (9.23 KB)

[#005] sha256:64db87d2914acd97c48a3dde52766e8a3ed703e93c20a1c49a607a83cfad0fc7 - 0.0% (160 Bytes)

[#006] sha256:ca2597ccb9a7419c25fc2b2c2c3f3240df4dfcfdc761facdb8fb3066e23884a8 - 0.0% (202 Bytes)

[#007] sha256:3d034ace2c793b96dce46d5117683deaa03a537a94483ac7bd8879e986de2d20 - 0.0% (4.67 KB)

[#008] sha256:498d6681ca021e9bb55d0b8c3da259ccdb9d5e109227ef8b3d11bee99365d427 - 0.0% (2.38 KB)

[#009] sha256:7075fcc783f16297594122bf77df78391a6aad0edef0515507b8c46a5f98909b - 0.0% (255 Bytes)

[#010] sha256:bb114fb4d59c0be4639013b232eda46b768914b23d51dc32e18db52d13e33059 - 0.0% (400 Bytes)

[#011] sha256:372155e111573328580de2a35f91102ec4e44ff8e708015c19ac472464f66bef - 2.91% (2.67 MB)


History
2023-05-09 23:11:10 UTC

/bin/sh -c #(nop) ADD file:7625ddfd589fb824ee39f1b1eb387b98f3676420ff52f26eb9d975151e889667 in /

2023-05-09 23:11:10 UTC

/bin/sh -c #(nop) CMD ["/bin/sh"]

2023-05-11 22:17:02 UTC

/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

2023-05-11 22:17:02 UTC

/bin/sh -c #(nop) ENV LANG=en_US.utf8

2023-05-11 22:17:02 UTC

/bin/sh -c mkdir /docker-entrypoint-initdb.d

2023-05-11 22:17:02 UTC

/bin/sh -c #(nop) ENV PG_MAJOR=15

2023-05-11 22:17:02 UTC

/bin/sh -c #(nop) ENV PG_VERSION=15.3

2023-05-11 22:17:03 UTC

/bin/sh -c #(nop) ENV PG_SHA256=ffc7d4891f00ffbf5c3f4eab7fbbced8460b8c0ee63c5a5167133b9e6599d932

2023-05-13 04:08:46 UTC

/bin/sh -c #(nop) ENV DOCKER_PG_LLVM_DEPS=llvm15-dev clang15

2023-05-19 17:32:15 UTC

/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 ; 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 --with-lz4 --with-zstd ; make -j "$(nproc)" world; make install-world; 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 su-exec 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

2023-05-19 17:32:16 UTC

/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

2023-05-19 17:32:16 UTC

/bin/sh -c mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 3777 /var/run/postgresql

2023-05-19 17:32:16 UTC

/bin/sh -c #(nop) ENV PGDATA=/var/lib/postgresql/data

2023-05-19 17:32:17 UTC

/bin/sh -c mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 1777 "$PGDATA"

2023-05-19 17:32:17 UTC

/bin/sh -c #(nop) VOLUME [/var/lib/postgresql/data]

2023-05-19 17:32:17 UTC

/bin/sh -c #(nop) COPY file:e635913e9467265f505455bc3f08bed37d67ce6597a1f10365f8faf79f09b654 in /usr/local/bin/

2023-05-19 17:32:17 UTC

/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]

2023-05-19 17:32:17 UTC

/bin/sh -c #(nop) STOPSIGNAL SIGINT

2023-05-19 17:32:17 UTC

/bin/sh -c #(nop) EXPOSE 5432

2023-05-19 17:32:17 UTC

/bin/sh -c #(nop) CMD ["postgres"]

2023-06-13 07:16:14 UTC (buildkit.dockerfile.v0)

COPY start.sh /start.sh # buildkit

2023-06-13 07:16:14 UTC (buildkit.dockerfile.v0)

COPY healthcheck.sh /healthcheck.sh # buildkit

2023-06-13 07:16:14 UTC (buildkit.dockerfile.v0)

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

2023-06-13 07:16:16 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; apk add --no-cache bash openssl shadow 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; chown -R postgres:postgres /var/lib/postgresql; chown -R postgres:postgres /var/run/postgresql; chown -R postgres:postgres "$PGDATA"; mkdir /mnt/data; chown postgres:postgres /mnt/data; echo "root:$(openssl rand -base64 12)" | chpasswd # buildkit

2023-06-13 07:16:16 UTC (buildkit.dockerfile.v0)

VOLUME [/mnt/data]

2023-06-13 07:16:16 UTC (buildkit.dockerfile.v0)

USER postgres

2023-06-13 07:16:16 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/start.sh"]

2023-06-13 07:16:16 UTC (buildkit.dockerfile.v0)

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

2023-06-13 07:16:16 UTC (buildkit.dockerfile.v0)

LABEL com.centurylinklabs.watchtower.monitor-only=true

Details
Created

2023-06-13 07:16:56 UTC

Size

90.6 MB

Content Digest
Labels
  • com.centurylinklabs.watchtower.monitor-only
    true

Environment
DOCKER_PG_LLVM_DEPS

llvm15-dev clang15

LANG

en_US.utf8

PATH

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

PGDATA

/var/lib/postgresql/data

PG_MAJOR

15

PG_SHA256

ffc7d4891f00ffbf5c3f4eab7fbbced8460b8c0ee63c5a5167133b9e6599d932

PG_VERSION

15.3


Layers

[#000] sha256:08409d4172603f40b56eb6b76240a1e6bd78baa0e96590dc7ff76c5f1a093af2 - 3.52% (3.19 MB)

[#001] sha256:6450d4e89514cf973218c2acf337dd514874b584b24721dc8039c2e5d9bb46e6 - 0.0% (1.26 KB)

[#002] sha256:fb127fe040bfe4d77bcfce7123f88f4f3a88be02bb64d3dc68e39956ef046330 - 0.0% (148 Bytes)

[#003] sha256:e07c05a5a317b027d96b2105f8965b00ed7f3875918f40ae5754638de30b92c1 - 93.62% (84.8 MB)

[#004] sha256:14a4a63fb0e0b174f4174e632e34e5b7958eac6187c45fa2b8e332069a2f986b - 0.01% (9.23 KB)

[#005] sha256:fd170937e6775c7d7dd684a91cc9c36f59d758628bb5dfce3a249b4dd90c8bae - 0.0% (160 Bytes)

[#006] sha256:3597d3193ab470bf63729539dc8328ed1bd43cc8566947ae57099ade52200c23 - 0.0% (202 Bytes)

[#007] sha256:09ed13dfda568c139f8b3dc99a3644b6204c528f21ece8c747c9dedba52ff70f - 0.01% (4.68 KB)

[#008] sha256:271d351c8451356451b9411c24d1b4dc327579edb5e067d4d0c077a16654e297 - 0.0% (2.38 KB)

[#009] sha256:40e66ed5d6dbbc9428d46eee2fd5457af7345227ac9fbaad48c53b09c289dcb1 - 0.0% (254 Bytes)

[#010] sha256:8063a2903239be525d4ae5ee3bfe065e2791af40ffd4eb38e84508889c26ce02 - 0.0% (400 Bytes)

[#011] sha256:dfce47970e8dd0091b3fd6865d479bbaee2784d4db674da3768c3cd708b5b546 - 2.84% (2.57 MB)


History
2023-05-09 23:11:08 UTC

/bin/sh -c #(nop) ADD file:df7fccc3453b6ec1401d27a1295b0882a83e731fde8f23db9d3f687a2b6b4e70 in /

2023-05-09 23:11:08 UTC

/bin/sh -c #(nop) CMD ["/bin/sh"]

2023-05-11 22:52:14 UTC

/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

2023-05-11 22:52:14 UTC

/bin/sh -c #(nop) ENV LANG=en_US.utf8

2023-05-11 22:52:15 UTC

/bin/sh -c mkdir /docker-entrypoint-initdb.d

2023-05-11 22:52:15 UTC

/bin/sh -c #(nop) ENV PG_MAJOR=15

2023-05-11 22:52:15 UTC

/bin/sh -c #(nop) ENV PG_VERSION=15.3

2023-05-11 22:52:15 UTC

/bin/sh -c #(nop) ENV PG_SHA256=ffc7d4891f00ffbf5c3f4eab7fbbced8460b8c0ee63c5a5167133b9e6599d932

2023-05-13 02:07:28 UTC

/bin/sh -c #(nop) ENV DOCKER_PG_LLVM_DEPS=llvm15-dev clang15

2023-05-19 17:55:38 UTC

/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 ; 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 --with-lz4 --with-zstd ; make -j "$(nproc)" world; make install-world; 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 su-exec 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

2023-05-19 17:55:39 UTC

/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

2023-05-19 17:55:40 UTC

/bin/sh -c mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 3777 /var/run/postgresql

2023-05-19 17:55:40 UTC

/bin/sh -c #(nop) ENV PGDATA=/var/lib/postgresql/data

2023-05-19 17:55:40 UTC

/bin/sh -c mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 1777 "$PGDATA"

2023-05-19 17:55:41 UTC

/bin/sh -c #(nop) VOLUME [/var/lib/postgresql/data]

2023-05-19 17:55:41 UTC

/bin/sh -c #(nop) COPY file:e635913e9467265f505455bc3f08bed37d67ce6597a1f10365f8faf79f09b654 in /usr/local/bin/

2023-05-19 17:55:41 UTC

/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]

2023-05-19 17:55:41 UTC

/bin/sh -c #(nop) STOPSIGNAL SIGINT

2023-05-19 17:55:41 UTC

/bin/sh -c #(nop) EXPOSE 5432

2023-05-19 17:55:41 UTC

/bin/sh -c #(nop) CMD ["postgres"]

2023-06-13 07:16:50 UTC (buildkit.dockerfile.v0)

COPY start.sh /start.sh # buildkit

2023-06-13 07:16:50 UTC (buildkit.dockerfile.v0)

COPY healthcheck.sh /healthcheck.sh # buildkit

2023-06-13 07:16:51 UTC (buildkit.dockerfile.v0)

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

2023-06-13 07:16:56 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; apk add --no-cache bash openssl shadow 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; chown -R postgres:postgres /var/lib/postgresql; chown -R postgres:postgres /var/run/postgresql; chown -R postgres:postgres "$PGDATA"; mkdir /mnt/data; chown postgres:postgres /mnt/data; echo "root:$(openssl rand -base64 12)" | chpasswd # buildkit

2023-06-13 07:16:56 UTC (buildkit.dockerfile.v0)

VOLUME [/mnt/data]

2023-06-13 07:16:56 UTC (buildkit.dockerfile.v0)

USER postgres

2023-06-13 07:16:56 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/start.sh"]

2023-06-13 07:16:56 UTC (buildkit.dockerfile.v0)

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

2023-06-13 07:16:56 UTC (buildkit.dockerfile.v0)

LABEL com.centurylinklabs.watchtower.monitor-only=true

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