Namespace
nextcloud
Image / Tag
aio-postgresql:20220731_082310-latest-arm64
Content Digest
sha256:7a23da41d1fee99100a4578ded29cf72730cf8052b1588f26ddb306c29f79c7b
Details
Created

2022-07-26 18:53:45 UTC

Size

80.9 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

c23b6237c5231c791511bdc79098617d6852e9e3bdf360efd8b5d15a1a3d8f6a

PG_VERSION

14.4


Layers

[#000] sha256:f97344484467e4c4ebb85aae724170073799295a3442c50ab532e249bd27b412 - 3.18% (2.57 MB)

[#001] sha256:204fa37ad79b6fbdaa6b71115fab75d702735b2da767ca79a34f9ae33d35e456 - 0.0% (1.23 KB)

[#002] sha256:3a550a0032f8399648b092e8dac43bb9b5ac5fd50d67cd74bfe0ad094ba2a535 - 0.0% (115 Bytes)

[#003] sha256:cb34ecb999918a9201680eaf8c70e6269e8c0d72fa05748ed276eace84fe76e3 - 95.26% (77.1 MB)

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

[#005] sha256:13dfed150d08c79c112befc24b7668800f0b4c5082871984779d6f824a8255f0 - 0.0% (129 Bytes)

[#006] sha256:ac01d50c1b9b4a340eb93f4f32028c3d16273851c63f4274e12bfb12a5c83171 - 0.0% (169 Bytes)

[#007] sha256:5590d83d2d1740deaede85637af992e32009b5a0fdbcb63280c0a89feda1a37a - 0.01% (4.59 KB)

[#008] sha256:ad5a5476f0c1db601aae7cf72333f7132a22be69632f6d6e09f12c4608816307 - 1.54% (1.24 MB)

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

[#010] sha256:9391b64c5917f1724e9514f3b38278fbc015e7f8b131d54e56c35aebaf6d60f9 - 0.0% (226 Bytes)

[#011] sha256:cab44e311ea557b48a4f96aa941efa1228bcfa3b0f4f1556f311e1af229069cd - 0.0% (1.7 KB)

[#012] sha256:7e6de17ce03129db0c5ff42f80f8be860ded4add7e0e88610fd1351d8e3ab10a - 0.0% (331 Bytes)

[#013] sha256:f4d1366c663e07b3c6ea3f3cd15b51871555575018680ade44fa2137bcd1e8c3 - 0.0% (1.8 KB)

[#014] sha256:dbfb55230494e8ed523f657256dcb3c39b28f28c1633eb14d0beb714a6aa9c04 - 0.0% (134 Bytes)

[#015] sha256:34cdd2574e0af0e3cb4daf325754c10b1ec45f5efd62006d082eb4875b1feb2a - 0.0% (402 Bytes)


History
2022-07-18 21:57:05 UTC

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

2022-07-18 21:57:05 UTC

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

2022-07-19 01:26:38 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-07-19 01:26:38 UTC

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

2022-07-19 01:26:39 UTC

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

2022-07-19 01:30:40 UTC

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

2022-07-19 01:30:41 UTC

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

2022-07-19 01:30:42 UTC

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

2022-07-19 01:34:03 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-07-19 01:34:04 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-07-19 01:34:05 UTC

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

2022-07-19 01:34:06 UTC

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

2022-07-19 01:34:07 UTC

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

2022-07-19 01:34:08 UTC

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

2022-07-19 01:34:10 UTC

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

2022-07-19 01:34:10 UTC

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

2022-07-19 01:34:11 UTC

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

2022-07-19 01:34:12 UTC

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

2022-07-19 01:34:13 UTC

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

2022-07-26 18:53:44 UTC (buildkit.dockerfile.v0)

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

2022-07-26 18:53:44 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-07-26 18:53:45 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-07-26 18:53:45 UTC (buildkit.dockerfile.v0)

COPY start.sh /usr/bin/ # buildkit

2022-07-26 18:53:45 UTC (buildkit.dockerfile.v0)

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

2022-07-26 18:53:45 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-07-26 18:53:45 UTC (buildkit.dockerfile.v0)

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

2022-07-26 18:53:45 UTC (buildkit.dockerfile.v0)

VOLUME [/mnt/data]

2022-07-26 18:53:45 UTC (buildkit.dockerfile.v0)

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

2022-07-26 18:53:45 UTC (buildkit.dockerfile.v0)

USER postgres

2022-07-26 18:53:45 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["start.sh"]

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