Namespace
nextcloud
Image / Tag
aio-postgresql:20221014_105910-latest-arm64
Content Digest
sha256:e3678358a4de68ff8912f452c065d132b5cbb9516128530479dbb7c326dd1bf4
Details
Created

2022-10-06 21:27:56 UTC

Size

81 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:9b18e9b68314027565b90ff6189d65942c0f7986da80df008b8431276885218e - 3.19% (2.58 MB)

[#001] sha256:75aada9edfc58771473e8896a13640c97ada8da22ee2296fb12338c45d0ab8d7 - 0.0% (1.23 KB)

[#002] sha256:8207736937506f07b9ceed008216a1acbd1e12c8e770a48463266154eea5a296 - 0.0% (115 Bytes)

[#003] sha256:8812bb04ef2e0040c000a84a06244a507cac17fe5b06a703ae40eb533b6abeb5 - 95.18% (77.1 MB)

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

[#005] sha256:833f9b98598eae37926bbf1fa829474f34350c17b7323a706db8c157626cbba6 - 0.0% (129 Bytes)

[#006] sha256:1eb578dc04e60483e656628df50d2b3ab2620ebb96611c9e03286403c6c2a96c - 0.0% (173 Bytes)

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

[#008] sha256:ef1667d91edd3fd9c2862493678ab006d76511c885d10d0cb1ba9ee22adafeff - 1.61% (1.3 MB)

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

[#010] sha256:6c1ec387593006857ffd7f88e807e7aeb73e99f08c3d94b848d4b5d80f2b8a79 - 0.0% (233 Bytes)

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

[#012] sha256:0d800202c3fad5cdb1223ecb300bf40eb61a4c805024b74ea2cae7b7cff8d44a - 0.0% (329 Bytes)

[#013] sha256:4416fb343d17ab4eec2868082495c11dc13148b127a3557ee408bfa552cce31a - 0.0% (1.94 KB)

[#014] sha256:439d1b7652c2ff8bf6317b166bf553777827fb30c4abc9457de4323fef363faa - 0.0% (137 Bytes)

[#015] sha256:24dd8ae3ca6d6b9dec2a68a764f0d1bdf5c8a12640a02480cccf3abb9c2fed40 - 0.0% (397 Bytes)


History
2022-08-09 17:39:41 UTC

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

2022-08-09 17:39:42 UTC

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

2022-08-10 02:26:39 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-10 02:26:40 UTC

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

2022-08-10 02:26:41 UTC

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

2022-08-10 02:30:57 UTC

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

2022-08-11 23:52:19 UTC

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

2022-08-11 23:52:20 UTC

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

2022-08-11 23:55:37 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-11 23:55:37 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-11 23:55:38 UTC

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

2022-08-11 23:55:39 UTC

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

2022-08-11 23:55:40 UTC

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

2022-08-11 23:55:41 UTC

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

2022-08-11 23:55:43 UTC

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

2022-08-11 23:55:43 UTC

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

2022-08-11 23:55:44 UTC

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

2022-08-11 23:55:45 UTC

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

2022-08-11 23:55:46 UTC

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

2022-10-06 21:27:56 UTC (buildkit.dockerfile.v0)

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

2022-10-06 21:27:56 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-10-06 21:27:56 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-10-06 21:27:56 UTC (buildkit.dockerfile.v0)

COPY start.sh /usr/bin/ # buildkit

2022-10-06 21:27:56 UTC (buildkit.dockerfile.v0)

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

2022-10-06 21:27:56 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-10-06 21:27:56 UTC (buildkit.dockerfile.v0)

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

2022-10-06 21:27:56 UTC (buildkit.dockerfile.v0)

VOLUME [/mnt/data]

2022-10-06 21:27:56 UTC (buildkit.dockerfile.v0)

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

2022-10-06 21:27:56 UTC (buildkit.dockerfile.v0)

USER postgres

2022-10-06 21:27:56 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["start.sh"]

2022-10-06 21:27:56 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