Namespace
nextcloud
Image / Tag
aio-postgresql:20220513_160247-latest
Content Digest
sha256:24f56c7bdd2a6e81577353e6b3016a4a5516e22256c2fc436ef4bf8fc58f5661
Details
Created

2022-05-09 14:32:41 UTC

Size

79.7 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:df9b9388f04ad6279a7410b85cedfdcb2208c0a003da7ab5613af71079148139 - 3.37% (2.68 MB)

[#001] sha256:7902437d3a1288bbe38562c760e4e6b155617991e782f33ddd81da3f4f88305a - 0.0% (1.25 KB)

[#002] sha256:709e2267bc988471d02df06f7a9f133dd3195af6da61c0869b0555f72f0c1e4e - 0.0% (149 Bytes)

[#003] sha256:10c5a0a9c34e80b759f48da2f59463143ce1b722dd90eaf58e02100cff5d465d - 95.2% (75.9 MB)

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

[#005] sha256:65aa0c237f80432c7bf7bff1c3fa452d556cec8111caafe23cba9843e653fa0c - 0.0% (161 Bytes)

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

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

[#008] sha256:b9a837e6f301a12c3fec29cca9fd4c40695f1e585452c27077fca2d14de8b3b0 - 1.4% (1.12 MB)

[#009] sha256:7564bd12bd07415873ef30a7d07fd273dcba5c618996bd8c635eb18787f32a2c - 0.0% (1.19 KB)

[#010] sha256:31312a9d26e0116be74a13dd2906443e60bbe65f786960644ac271154fc2748d - 0.0% (216 Bytes)

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

[#012] sha256:3879977b2bfca3d9d2307b154fda723fe264956218d28fc68053408dc9844303 - 0.0% (331 Bytes)

[#013] sha256:2acf8584bc7ee456fc653f526233755c5b3252071a8d47564dceb9725202455e - 0.0% (1.66 KB)

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

[#015] sha256:92e0ddfaa63b920d250d80bc5d8888c3adcdbbb30132b097fcf69a530c150f0a - 0.0% (405 Bytes)


History
2022-04-05 00:19:59 UTC

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

2022-04-05 00:19:59 UTC

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

2022-04-05 07:24: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-04-05 07:24:39 UTC

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

2022-04-05 07:24:40 UTC

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

2022-04-05 07:24:40 UTC

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

2022-04-05 07:24:40 UTC

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

2022-04-05 07:24:40 UTC

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

2022-04-05 07:29: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 ; 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 07:29:38 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 07:29:38 UTC

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

2022-04-05 07:29:38 UTC

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

2022-04-05 07:29:39 UTC

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

2022-04-05 07:29:39 UTC

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

2022-04-05 07:29:39 UTC

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

2022-04-05 07:29:39 UTC

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

2022-04-05 07:29:39 UTC

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

2022-04-05 07:29:39 UTC

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

2022-04-05 07:29:39 UTC

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

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

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

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

COPY start.sh /usr/bin/ # buildkit

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

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

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

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

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

VOLUME [/mnt/data]

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

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

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

USER postgres

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