2022-06-22 13:04:43 UTC
79.9 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_SHA256279057368bf59a919c05ada8f95c5e04abb43e74b9a2a69c3d46a20e07a9af38
PG_VERSION14.3
[#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:bd37faa29f418d2a3ccff4c46a39abe4cf8f40ebc9f74fbdb9212ac9d37c9691 - 1.37% (1.09 MB)
[#009] sha256:57cc1b43d9c634915b6ab5fe85a74e8bceeb217d5f66c531e3b5ad6eab1248e3 - 0.0% (1.19 KB)
[#010] sha256:b3345015d1b9021df1ff6185c41cf940944faa12832e5e5e7f6e0c00e82349bd - 0.0% (224 Bytes)
[#011] sha256:c1cb225d7fece2fb85197892e36d9ec2d3a17fbb15dbc312b1a503356edcadc6 - 0.0% (1.55 KB)
[#012] sha256:84b7cb959da905ef0b71c6437bc2b3faec90da2d3858fed7435db3e77f63a430 - 0.0% (329 Bytes)
[#013] sha256:e5aec36f529185e30e4aa1bb1c5409f5d8a882dec922da94bc262ed24af46437 - 0.0% (1.66 KB)
[#014] sha256:88ab1bc7b4db8f78a9433651eec2b79ff9e5ae95c2468d72fae3aa738a6fe19a - 0.0% (137 Bytes)
[#015] sha256:ca162ff2379c10efc3b39ff8a05942b1cb17a03ff4cf7ad85e73c49052a61d8e - 0.0% (408 Bytes)
/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-06-22 13:04:42 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c apk add --update --no-cache bash openssl shadow netcat-openbsd # buildkit
2022-06-22 13:04:42 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-06-22 13:04:43 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-06-22 13:04:43 UTC (buildkit.dockerfile.v0)COPY start.sh /usr/bin/ # buildkit
2022-06-22 13:04:43 UTC (buildkit.dockerfile.v0)COPY init-user-db.sh /docker-entrypoint-initdb.d/ # buildkit
2022-06-22 13:04:43 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-06-22 13:04:43 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /mnt/data; chown postgres:postgres /mnt/data; # buildkit
2022-06-22 13:04:43 UTC (buildkit.dockerfile.v0)VOLUME [/mnt/data]
2022-06-22 13:04:43 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c echo "root:$(openssl rand -base64 12)" | chpasswd # buildkit
2022-06-22 13:04:43 UTC (buildkit.dockerfile.v0)USER postgres
2022-06-22 13:04:43 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.