2022-07-26 18:53:32 UTC
82 MB
en_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/data
PG_MAJOR14
PG_SHA256c23b6237c5231c791511bdc79098617d6852e9e3bdf360efd8b5d15a1a3d8f6a
PG_VERSION14.4
[#000] sha256:530afca65e2ea04227630ae746e0c85b2bd1a179379cbf2b6501b49c4cab2ccc - 3.25% (2.67 MB)
[#001] sha256:915bf02ec4105a810e064257cd9ce9cbf90be2ec069bf0f87d12f98038d07c56 - 0.0% (1.26 KB)
[#002] sha256:b026a0cf3c97e00c74281e123e212ce0517eee48fbd9a1086027c4684f6f5517 - 0.0% (149 Bytes)
[#003] sha256:88659e2107f6c19018c4e187da12c1d25804ea415012db2800349a24303c3f58 - 95.17% (78.1 MB)
[#004] sha256:33960a1e9871a67fd4cdc90215bb1e3002ec7fac9e5ffa3d9729f1632f659f91 - 0.01% (8.99 KB)
[#005] sha256:b9bbc907277f07d68b85d7eab8d131447831f84eaac4d1bf2421ff2e6139ea7c - 0.0% (162 Bytes)
[#006] sha256:7e545c6230ec7e1d72b3d7fdfae81ebfa9d1ee7ab1fb165b956202376cafe277 - 0.0% (195 Bytes)
[#007] sha256:ba5428d6e942832c77d8b941f2a66f721abc27bb010a93d9a60a933df9e51dc4 - 0.01% (4.59 KB)
[#008] sha256:c9f352cdacb09d9b2bd286f7743e2b318ee264cd7fae591256dc11911bceda08 - 1.55% (1.27 MB)
[#009] sha256:5d57b7d972b813a6141850343f7990a6d3c9937497662274f81e6a9ee75b0e39 - 0.0% (1.17 KB)
[#010] sha256:6171464817bf7295b279571085d908dcc98625621b61d44c4ca9161f4bcadf9c - 0.0% (218 Bytes)
[#011] sha256:1221cc1912f5ce7c96c97d7056fa0d4ae5a2a3d80167aa322a4c0c66e55e9995 - 0.0% (1.7 KB)
[#012] sha256:e4219e58b7fe57a41491197ffb321508405c5b8407f5b2e1770302599e515c89 - 0.0% (330 Bytes)
[#013] sha256:201bd6c4adabadd2cccb52a8b97bacb73cc7e2c7b86affc41c739674012b47f3 - 0.0% (1.8 KB)
[#014] sha256:a359e9c6becc82446682de9d2f450322079cff21c10c55ac3d92b2c7034c8b66 - 0.0% (136 Bytes)
[#015] sha256:52e35595092a21a707ab53e25696c7e3737020da1de86062f31a53ef968a64ba - 0.0% (397 Bytes)
/bin/sh -c #(nop) ADD file:a2648378045615c3785c752423b1afc8dc1c2b213393344f4d0ca17e7255c1cb in /
2022-07-18 21:00:15 UTC/bin/sh -c #(nop) CMD ["/bin/sh"]
2022-07-19 01:37:18 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-07-19 01:37:18 UTC/bin/sh -c #(nop) ENV LANG=en_US.utf8
2022-07-19 01:37:19 UTC/bin/sh -c mkdir /docker-entrypoint-initdb.d
2022-07-19 01:41:13 UTC/bin/sh -c #(nop) ENV PG_MAJOR=14
2022-07-19 01:41:13 UTC/bin/sh -c #(nop) ENV PG_VERSION=14.4
2022-07-19 01:41:14 UTC/bin/sh -c #(nop) ENV PG_SHA256=c23b6237c5231c791511bdc79098617d6852e9e3bdf360efd8b5d15a1a3d8f6a
2022-07-19 01:44:39 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-07-19 01:44:40 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-07-19 01:44:41 UTC/bin/sh -c mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 2777 /var/run/postgresql
2022-07-19 01:44:41 UTC/bin/sh -c #(nop) ENV PGDATA=/var/lib/postgresql/data
2022-07-19 01:44:41 UTC/bin/sh -c mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA"
2022-07-19 01:44:41 UTC/bin/sh -c #(nop) VOLUME [/var/lib/postgresql/data]
2022-07-19 01:44:42 UTC/bin/sh -c #(nop) COPY file:232dce6cf487afb0c0cc43d38932ff29614a74b57cd04557dc7398e6d2b93b8f in /usr/local/bin/
2022-07-19 01:44:42 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
2022-07-19 01:44:42 UTC/bin/sh -c #(nop) STOPSIGNAL SIGINT
2022-07-19 01:44:42 UTC/bin/sh -c #(nop) EXPOSE 5432
2022-07-19 01:44:42 UTC/bin/sh -c #(nop) CMD ["postgres"]
2022-07-26 18:53:32 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apk add --update --no-cache bash openssl shadow netcat-openbsd grep # buildkit
2022-07-26 18:53:32 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-07-26 18:53:32 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-07-26 18:53:32 UTC (buildkit.dockerfile.v0)COPY start.sh /usr/bin/ # buildkit
2022-07-26 18:53:32 UTC (buildkit.dockerfile.v0)COPY init-user-db.sh /docker-entrypoint-initdb.d/ # buildkit
2022-07-26 18:53:32 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-07-26 18:53:32 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /mnt/data; chown postgres:postgres /mnt/data; # buildkit
2022-07-26 18:53:32 UTC (buildkit.dockerfile.v0)VOLUME [/mnt/data]
2022-07-26 18:53:32 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c echo "root:$(openssl rand -base64 12)" | chpasswd # buildkit
2022-07-26 18:53:32 UTC (buildkit.dockerfile.v0)USER postgres
2022-07-26 18:53:32 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["start.sh"]
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.