Namespace
nextcloud
Image / Tag
aio-postgresql:20230302_085724-latest-arm64
Content Digest
sha256:21425fdd0bc079f0c16e26faebb00b3706c8a7c8a21e68bc365f24ea752a9d03
Details
Created

2023-02-23 17:35:30 UTC

Size

91.2 MB

Content Digest
Labels
  • com.centurylinklabs.watchtower.monitor-only
    true

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

15

PG_SHA256

99a2171fc3d6b5b5f56b757a7a3cb85d509a38e4273805def23941ed2b8468c7

PG_VERSION

15.2


Layers

[#000] sha256:63b65145d645c1250c391b2d16ebe53b3747c295ca8ba2fcb6b0cf064a4dc21c - 3.53% (3.22 MB)

[#001] sha256:c441836541d936a780ab5a18cf835d5ae7199cb588cec248614c06418dc7d74c - 0.0% (1.26 KB)

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

[#003] sha256:b95308fc3d317f9d902bc98ab7ca5a4ae14f2e1fdc9082050e37f6d09ad34623 - 94.84% (86.5 MB)

[#004] sha256:b0668417a86c843812fee781d9f862a180d1d35fa8936ff1062e4e1b6d1622af - 0.01% (9.23 KB)

[#005] sha256:a0fc954fc7aab68d8c9bbfb55b3a500024b85c0f9126767e8c4b65b494af092e - 0.0% (162 Bytes)

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

[#007] sha256:62e42e95b14320acc58478673bad0b2a24e5a15ca8dc1b004b1bc2a4c69193fd - 0.01% (4.67 KB)

[#008] sha256:bfc01212c9509e8392c38b7b994fc9c4b300d363f532fc6cf3dbb19c83c74c72 - 1.61% (1.47 MB)

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

[#010] sha256:d6ce3af65e87a13103fa27603caabfa6b514ea8460404147b8009e2519104058 - 0.0% (219 Bytes)

[#011] sha256:5d919039e27be528aed5e072e514c5c8d8d0947e103b2c90db16a7d10c4d4b49 - 0.0% (2.45 KB)

[#012] sha256:e22c3f8396d781ab1a39faa97974532539032f5e7c93a1304f5290346e831f76 - 0.0% (317 Bytes)

[#013] sha256:e6217be554f030f72686b30b4cdd1a57851c8c73840ad10d7b63f2c6a7d64c08 - 0.0% (407 Bytes)

[#014] sha256:726d9585adfca221281baa5087deb4c10a858fde4a749d3f762c068eae683a21 - 0.0% (2.66 KB)

[#015] sha256:7b452374c7022b5790bc72fe4f6b574c1fda9c83971862e486dff3e6c728ff5c - 0.0% (137 Bytes)

[#016] sha256:35cc6b2568f92992ec558a0b1e61d6ad80240e743874e2710e6bdc034c8b0fa1 - 0.0% (399 Bytes)


History
2023-02-11 04:46:42 UTC

/bin/sh -c #(nop) ADD file:40887ab7c06977737e63c215c9bd297c0c74de8d12d16ebdf1c3d40ac392f62d in /

2023-02-11 04:46:42 UTC

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

2023-02-11 05:02:45 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

2023-02-11 05:02:45 UTC

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

2023-02-11 05:02:46 UTC

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

2023-02-11 05:02:46 UTC

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

2023-02-11 05:02:46 UTC

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

2023-02-11 05:02:46 UTC

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

2023-02-11 05:05:28 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 zstd-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 --with-zstd ; 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 --print-arch)" != 'ppc64le' ] && echo 'nss_wrapper') ; apk del --no-network .build-deps; cd /; rm -rf /usr/src/postgresql /usr/local/share/doc /usr/local/share/man ; postgres --version

2023-02-11 05:05:29 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

2023-02-11 05:05:30 UTC

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

2023-02-11 05:05:30 UTC

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

2023-02-11 05:05:30 UTC

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

2023-02-11 05:05:30 UTC

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

2023-02-11 05:05:31 UTC

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

2023-02-11 05:05:31 UTC

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

2023-02-11 05:05:31 UTC

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

2023-02-11 05:05:31 UTC

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

2023-02-11 05:05:31 UTC

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

2023-02-23 17:35:30 UTC (buildkit.dockerfile.v0)

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

2023-02-23 17:35:30 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

2023-02-23 17:35:30 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

2023-02-23 17:35:30 UTC (buildkit.dockerfile.v0)

COPY start.sh /usr/bin/ # buildkit

2023-02-23 17:35:30 UTC (buildkit.dockerfile.v0)

COPY healthcheck.sh /usr/bin/ # buildkit

2023-02-23 17:35:30 UTC (buildkit.dockerfile.v0)

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

2023-02-23 17:35:30 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; chmod +x /usr/bin/start.sh; chmod +xr /docker-entrypoint-initdb.d/init-user-db.sh; chmod +x /usr/bin/healthcheck.sh # buildkit

2023-02-23 17:35:30 UTC (buildkit.dockerfile.v0)

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

2023-02-23 17:35:30 UTC (buildkit.dockerfile.v0)

VOLUME [/mnt/data]

2023-02-23 17:35:30 UTC (buildkit.dockerfile.v0)

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

2023-02-23 17:35:30 UTC (buildkit.dockerfile.v0)

USER postgres

2023-02-23 17:35:30 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["start.sh"]

2023-02-23 17:35:30 UTC (buildkit.dockerfile.v0)

HEALTHCHECK &{["CMD-SHELL" "healthcheck.sh"] "0s" "0s" "0s" '\x00'}

2023-02-23 17:35:30 UTC (buildkit.dockerfile.v0)

LABEL com.centurylinklabs.watchtower.monitor-only=true

Details
Created

2023-02-23 17:35:59 UTC

Size

89.1 MB

Content Digest
Labels
  • com.centurylinklabs.watchtower.monitor-only
    true

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

15

PG_SHA256

99a2171fc3d6b5b5f56b757a7a3cb85d509a38e4273805def23941ed2b8468c7

PG_VERSION

15.2


Layers

[#000] sha256:af6eaf76a39c2d3e7e0b8a0420486e3df33c4027d696c076a99a3d0ac09026af - 3.49% (3.11 MB)

[#001] sha256:71286d2ce0cc0803a31c93bdd02c2974bcf648b2587eab598a95d3304821b328 - 0.0% (1.26 KB)

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

[#003] sha256:75d514bb4aa7956b346ecec7a4c6de3f35335b7c721e4135fd2579ca1d64c576 - 94.8% (84.5 MB)

[#004] sha256:217da6f41d9e722df36d3afa17845c285df3cdf7ad86e4dfdbbc724af8997bfb - 0.01% (9.23 KB)

[#005] sha256:39a3f48231261b6c34da7b341ba73922e72466c291daa3fd89ec4b26682e66de - 0.0% (161 Bytes)

[#006] sha256:ed6571a6afccc930a7f3aee356c5cd6bc3e42841b540a24ba2171b119238bcac - 0.0% (195 Bytes)

[#007] sha256:8ae7d38f54c4c995a4bdfbb25601547118fef3e811501f5d0a1ba49ce42abb2d - 0.01% (4.67 KB)

[#008] sha256:cfaea2dcf3654d2cd911838f9b23a11c14b4d6830866d9426fb362d02be6ff3a - 1.68% (1.5 MB)

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

[#010] sha256:3deb2899940f80f2799e5c4962b345fe76c8ec12376ffec77dd63fe087da6ae4 - 0.0% (221 Bytes)

[#011] sha256:60ce53195007bc63139b81b55cb3c8ff88cb5dd80e8580722a1b2dd540b71284 - 0.0% (2.45 KB)

[#012] sha256:56c827f7b6191b5e645fb87730c8df85768bc8afba2cca11c01a2be71c27b578 - 0.0% (318 Bytes)

[#013] sha256:741e03239a8102f7a9fd69fd79dcf501c7159bda63e220296e03d75d198312c7 - 0.0% (407 Bytes)

[#014] sha256:0df06816ac213d36bcc0176d87eda805f1c59b211df63df068bdd9808c8b3dd0 - 0.0% (2.66 KB)

[#015] sha256:5548f02ef9346227853709649605aedadca915bd46ef35a368e3b039f8bd06e3 - 0.0% (137 Bytes)

[#016] sha256:d7988ef75581bf78f80d4c0eb01d8604615fef245e3f973294323ae544a87b4c - 0.0% (395 Bytes)


History
2023-02-10 21:24:08 UTC

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

2023-02-10 21:24:08 UTC

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

2023-02-11 03:07:58 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

2023-02-11 03:07:58 UTC

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

2023-02-11 03:07:59 UTC

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

2023-02-11 03:07:59 UTC

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

2023-02-11 03:07:59 UTC

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

2023-02-11 03:07:59 UTC

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

2023-02-11 03:09:58 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 zstd-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 --with-zstd ; 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 --print-arch)" != 'ppc64le' ] && echo 'nss_wrapper') ; apk del --no-network .build-deps; cd /; rm -rf /usr/src/postgresql /usr/local/share/doc /usr/local/share/man ; postgres --version

2023-02-11 03:09:59 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

2023-02-11 03:10:00 UTC

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

2023-02-11 03:10:00 UTC

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

2023-02-11 03:10:00 UTC

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

2023-02-11 03:10:00 UTC

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

2023-02-11 03:10:00 UTC

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

2023-02-11 03:10:00 UTC

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

2023-02-11 03:10:01 UTC

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

2023-02-11 03:10:01 UTC

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

2023-02-11 03:10:01 UTC

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

2023-02-23 17:35:58 UTC (buildkit.dockerfile.v0)

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

2023-02-23 17:35:58 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

2023-02-23 17:35:58 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

2023-02-23 17:35:58 UTC (buildkit.dockerfile.v0)

COPY start.sh /usr/bin/ # buildkit

2023-02-23 17:35:58 UTC (buildkit.dockerfile.v0)

COPY healthcheck.sh /usr/bin/ # buildkit

2023-02-23 17:35:58 UTC (buildkit.dockerfile.v0)

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

2023-02-23 17:35:58 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -ex; chmod +x /usr/bin/start.sh; chmod +xr /docker-entrypoint-initdb.d/init-user-db.sh; chmod +x /usr/bin/healthcheck.sh # buildkit

2023-02-23 17:35:58 UTC (buildkit.dockerfile.v0)

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

2023-02-23 17:35:59 UTC (buildkit.dockerfile.v0)

VOLUME [/mnt/data]

2023-02-23 17:35:59 UTC (buildkit.dockerfile.v0)

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

2023-02-23 17:35:59 UTC (buildkit.dockerfile.v0)

USER postgres

2023-02-23 17:35:59 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["start.sh"]

2023-02-23 17:35:59 UTC (buildkit.dockerfile.v0)

HEALTHCHECK &{["CMD-SHELL" "healthcheck.sh"] "0s" "0s" "0s" '\x00'}

2023-02-23 17:35:59 UTC (buildkit.dockerfile.v0)

LABEL com.centurylinklabs.watchtower.monitor-only=true

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