Namespace
nextcloud
Image / Tag
aio-postgresql:20220513_160247-latest-arm64
Content Digest
sha256:1cc6875959930ba3c99474e0122e47dd4897c592f5d959075a5d6d8537f10506
Details
Created

2022-05-09 14:32:49 UTC

Size

78.6 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

2cf78b2e468912f8101d695db5340cf313c2e9f68a612fb71427524e8c9a977a

PG_VERSION

14.2


Layers

[#000] sha256:9981e73032c8833e387a8f96986e560edbed12c38119e0edb0439c9c2234eac9 - 3.3% (2.59 MB)

[#001] sha256:9998735be53b82d4d93cc72813622118271d565b9576e178c1cf196b949b56de - 0.0% (1.23 KB)

[#002] sha256:51338f5c9ae13e18e64d58b7ceacd16d0004c01ea9a50e77307e9c26794559a5 - 0.0% (115 Bytes)

[#003] sha256:38a25efe4e314a8e30195086721283f7e0f42b2fdcf744e1875f80e7259f5622 - 95.29% (74.9 MB)

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

[#005] sha256:b58ddd362edb162a023885b366740eeebfe0f58c1ee234b967695667ecdf9138 - 0.0% (130 Bytes)

[#006] sha256:06ec211c5fe3caa5fef503670477599b0c9babd24150da34cce37173e79f229b - 0.0% (170 Bytes)

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

[#008] sha256:da5ecdd6d8fc6dc83f3254c037ee53db6132f1570d8e48001ad649f422ef5277 - 1.39% (1.09 MB)

[#009] sha256:94f84e6b4e6974ba8b88aae72c9a193a5153a96fe8e7da7eda38a0cc87eb498f - 0.0% (1.19 KB)

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

[#011] sha256:f3ca38b228124df917b350cfadf0385b9f9c7d47716ee58de13fed29eb382b96 - 0.0% (1.56 KB)

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

[#013] sha256:6107345941d9587ce3582a40fbcc2618a55d9fb64dba6e9af00f26cc3d676bf7 - 0.0% (1.66 KB)

[#014] sha256:e9939bddf2b3df98c835a2e2040db0c79736f4ad289448138a45febe80c1e9e0 - 0.0% (136 Bytes)

[#015] sha256:2cfa73b7c16c5cc67f97f45072bd0fd5a191e3cf36411139ea934afffc2b6196 - 0.0% (407 Bytes)


History
2022-04-04 23:39:31 UTC

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

2022-04-04 23:39:31 UTC

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

2022-04-05 04:22:00 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-04-05 04:22:01 UTC

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

2022-04-05 04:22:02 UTC

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

2022-04-05 04:22:03 UTC

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

2022-04-05 04:22:04 UTC

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

2022-04-05 04:22:05 UTC

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

2022-04-05 04:25:17 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 ; apk del --no-network .build-deps; cd /; rm -rf /usr/src/postgresql /usr/local/share/doc /usr/local/share/man ; postgres --version

2022-04-05 04:25:18 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-04-05 04:25:19 UTC

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

2022-04-05 04:25:20 UTC

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

2022-04-05 04:25:21 UTC

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

2022-04-05 04:25:22 UTC

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

2022-04-05 04:25:24 UTC

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

2022-04-05 04:25:24 UTC

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

2022-04-05 04:25:25 UTC

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

2022-04-05 04:25:26 UTC

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

2022-04-05 04:25:27 UTC

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

2022-05-09 14:32:48 UTC (buildkit.dockerfile.v0)

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

2022-05-09 14:32:48 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-05-09 14:32:48 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-05-09 14:32:48 UTC (buildkit.dockerfile.v0)

COPY start.sh /usr/bin/ # buildkit

2022-05-09 14:32:48 UTC (buildkit.dockerfile.v0)

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

2022-05-09 14:32:48 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-05-09 14:32:48 UTC (buildkit.dockerfile.v0)

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

2022-05-09 14:32:49 UTC (buildkit.dockerfile.v0)

VOLUME [/mnt/data]

2022-05-09 14:32:49 UTC (buildkit.dockerfile.v0)

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

2022-05-09 14:32:49 UTC (buildkit.dockerfile.v0)

USER postgres

2022-05-09 14:32:49 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