Namespace
nextcloud
Image / Tag
aio-postgresql:20220523_125358-latest-arm64
Content Digest
sha256:1d12c26619d27a248171a307ff67fdd78fbf41890d147afabbc1f9738ed6a48c
Details
Created

2022-05-19 14:14:03 UTC

Size

79.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

279057368bf59a919c05ada8f95c5e04abb43e74b9a2a69c3d46a20e07a9af38

PG_VERSION

14.3


Layers

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

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

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

[#003] sha256:e060f9938f20d9bd2042909422184bd7fb08a5982a1e805a2312884a86994e4c - 95.37% (76.2 MB)

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

[#005] sha256:16bb8723009e14dd7d712b065376657e7a9014d37686aa2dab52b3dd4d6ee9bd - 0.0% (129 Bytes)

[#006] sha256:6b4c5f6175a0fed6a88e4aeb0ff9b0dda00548b39652e35cabb0b21dccc5c71b - 0.0% (173 Bytes)

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

[#008] sha256:8429a9c5e58826e6fcbc90eb15637b123866b5672760111a4aa3e2a6cdbb999c - 1.37% (1.09 MB)

[#009] sha256:6be9acb2832fd404556fb319fe130be10af3881064df41fdcf434532828601d9 - 0.0% (1.19 KB)

[#010] sha256:b3345015d1b9021df1ff6185c41cf940944faa12832e5e5e7f6e0c00e82349bd - 0.0% (224 Bytes)

[#011] sha256:05da7c2f6254750bf4d7b842d667a92565d199455d66e8b41e5923676224f0f3 - 0.0% (1.55 KB)

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

[#013] sha256:1724bf286ab94429929ed7856f77adfa3cb36752be41b6853158d7adbbcdef20 - 0.0% (1.65 KB)

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

[#015] sha256:18fb7d04b6cafb8c132afa9d0b60771f1cab95faef38d979aea98dc6d996a028 - 0.0% (405 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-05-18 01:20:40 UTC

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

2022-05-18 01:20:41 UTC

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

2022-05-18 01:23:57 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-05-18 01:23:57 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-05-18 01:23:58 UTC

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

2022-05-18 01:23:59 UTC

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

2022-05-18 01:24:00 UTC

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

2022-05-18 01:24:01 UTC

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

2022-05-18 01:24:03 UTC

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

2022-05-18 01:24:03 UTC

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

2022-05-18 01:24:04 UTC

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

2022-05-18 01:24:05 UTC

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

2022-05-18 01:24:06 UTC

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

2022-05-19 14:14:02 UTC (buildkit.dockerfile.v0)

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

2022-05-19 14:14:02 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-19 14:14:03 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-19 14:14:03 UTC (buildkit.dockerfile.v0)

COPY start.sh /usr/bin/ # buildkit

2022-05-19 14:14:03 UTC (buildkit.dockerfile.v0)

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

2022-05-19 14:14:03 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-19 14:14:03 UTC (buildkit.dockerfile.v0)

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

2022-05-19 14:14:03 UTC (buildkit.dockerfile.v0)

VOLUME [/mnt/data]

2022-05-19 14:14:03 UTC (buildkit.dockerfile.v0)

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

2022-05-19 14:14:03 UTC (buildkit.dockerfile.v0)

USER postgres

2022-05-19 14:14:03 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