Namespace
nextcloud
Image / Tag
aio-postgresql:20220907_074759-latest
Content Digest
sha256:8d4f25ef9d6ef8a860339ee76584439c973d5eec26b8e7dd78063a1e848ba2c0
Details
Created

2022-09-05 11:34:28 UTC

Size

82.1 MB

Content Digest
Environment
LANG

en_US.utf8

PATH

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

PGDATA

/var/lib/postgresql/data

PG_MAJOR

14

PG_SHA256

d4f72cb5fb857c9a9f75ec8cf091a1771272802f2178f0b2e65b7b6ff64f4a30

PG_VERSION

14.5


Layers

[#000] sha256:213ec9aee27d8be045c6a92b7eac22c9a64b44558193775a1a7f626352392b49 - 3.26% (2.68 MB)

[#001] sha256:85c3ef7cf9a6beeec8ff5b757e39ad71347ec77e891ad4d7784b14019583b223 - 0.0% (1.26 KB)

[#002] sha256:ac29cc04759ac7a5bf2b2df30b2272ec2eddee0feb4eedd6b50afe7056c3194b - 0.0% (147 Bytes)

[#003] sha256:2a37e244d86bf079f46a22a20d896d8b0e4e1dbff849d1c399d8ef6209661465 - 95.09% (78.1 MB)

[#004] sha256:36d7202aa1cff1485e2200b2b3a33e070531da4c5541bd117f35253a944a0b1a - 0.01% (8.99 KB)

[#005] sha256:3acdddb9790a8c4cd9d07ca6ff721e53d823633d657cd7dc82702d2b7fe14282 - 0.0% (162 Bytes)

[#006] sha256:9a938759f2bf4769486746117f5608b0bdef9bcce3e55c85b8000cf7fd9a136b - 0.0% (194 Bytes)

[#007] sha256:5d65a62412489e32d9805551e2cac85ac99195303d79b15058d5f7d405a78f63 - 0.01% (4.59 KB)

[#008] sha256:d3a21be7f0dade2930d1c757c9e592f945f5be6e4877562ee4dcd98f8b96815e - 1.63% (1.33 MB)

[#009] sha256:bd80f040758118f6515d744d002163409d9088a12749a105c0eddd8781ca21f4 - 0.0% (1.17 KB)

[#010] sha256:d6c2a542f951f530a921db21466675d78218c2424a6ed590d69bc249ea1fb12a - 0.0% (213 Bytes)

[#011] sha256:db4056a193f0e908a07e7f35ebbe8a87d5dedf53957021ae616029c0a623841b - 0.0% (1.84 KB)

[#012] sha256:a44039b56e1c1dda66da944e1ac2bd459783aa2f0e4345dfee1776d1a9ace514 - 0.0% (332 Bytes)

[#013] sha256:9d21b143be105dd77914442c64b861fafafe9544167063b6c083680d913ffd38 - 0.0% (1.94 KB)

[#014] sha256:1fa66a47ae3f0a86ac6b039a7198d069d083d88735768e0295001ed51a51ce8b - 0.0% (137 Bytes)

[#015] sha256:3b3448ab7f9b072b1764b5e56b6e4a17e405ced30b02799f6ce667c10449e0d5 - 0.0% (402 Bytes)


History
2022-08-09 17:19:53 UTC

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

2022-08-09 17:19:53 UTC

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

2022-08-09 23:10:36 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

2022-08-09 23:10:37 UTC

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

2022-08-09 23:10:37 UTC

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

2022-08-09 23:14:17 UTC

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

2022-08-12 00:44:19 UTC

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

2022-08-12 00:44:19 UTC

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

2022-08-12 00:47:33 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 bison coreutils dpkg-dev dpkg flex gcc krb5-dev libc-dev libedit-dev libxml2-dev libxslt-dev linux-headers llvm-dev clang g++ 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 ; 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'; ./configure --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-krb5 --with-gssapi --with-ldap --with-tcl --with-perl --with-python --with-openssl --with-libxml --with-libxslt --with-icu --with-llvm --with-lz4 ; 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 del --no-network .build-deps; cd /; rm -rf /usr/src/postgresql /usr/local/share/doc /usr/local/share/man ; postgres --version

2022-08-12 00:47:34 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

2022-08-12 00:47:35 UTC

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

2022-08-12 00:47:35 UTC

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

2022-08-12 00:47:35 UTC

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

2022-08-12 00:47:35 UTC

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

2022-08-12 00:47:35 UTC

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

2022-08-12 00:47:35 UTC

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

2022-08-12 00:47:36 UTC

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

2022-08-12 00:47:36 UTC

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

2022-08-12 00:47:36 UTC

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

2022-09-05 11:34:28 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apk add --update --no-cache bash openssl shadow netcat-openbsd grep mawk # buildkit

2022-09-05 11:34:28 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; 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 # buildkit

2022-09-05 11:34:28 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; chown -R postgres:postgres /var/lib/postgresql; chown -R postgres:postgres /var/run/postgresql; chown -R postgres:postgres "$PGDATA" # buildkit

2022-09-05 11:34:28 UTC (buildkit.dockerfile.v0)

COPY start.sh /usr/bin/ # buildkit

2022-09-05 11:34:28 UTC (buildkit.dockerfile.v0)

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

2022-09-05 11:34:28 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c chmod +x /usr/bin/start.sh; chmod +xr /docker-entrypoint-initdb.d/init-user-db.sh # buildkit

2022-09-05 11:34:28 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir /mnt/data; chown postgres:postgres /mnt/data; # buildkit

2022-09-05 11:34:28 UTC (buildkit.dockerfile.v0)

VOLUME [/mnt/data]

2022-09-05 11:34:28 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c echo "root:$(openssl rand -base64 12)" | chpasswd # buildkit

2022-09-05 11:34:28 UTC (buildkit.dockerfile.v0)

USER postgres

2022-09-05 11:34:28 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["start.sh"]

2022-09-05 11:34:28 UTC (buildkit.dockerfile.v0)

HEALTHCHECK &{["CMD-SHELL" "psql -d \"postgresql://$POSTGRES_USER:$POSTGRES_PASSWORD@localhost:5432/$POSTGRES_DB\" -c \"select now()\" || exit 1"] "0s" "0s" "0s" '\x00'}

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