2023-09-05 10:13:20 UTC
89.4 MB
llvm15-dev clang15
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/data
PG_MAJOR15
PG_SHA256baec5a4bdc4437336653b6cb5d9ed89be5bd5c0c58b94e0becee0a999e63c8f9
PG_VERSION15.4
[#000] sha256:7264a8db6415046d36d16ba98b79778e18accee6ffa71850405994cffa9be7de - 3.63% (3.24 MB)
[#001] sha256:6ff36a0c8b9b9d276476d169ec8b67363b3ce61e2bb9dd531afa7a5e7bc2384c - 0.0% (1.26 KB)
[#002] sha256:41485c1d4f30a3b23132045299ad7d532a237a5e1d5475cb73e434a1fa2d8f4d - 0.0% (149 Bytes)
[#003] sha256:b1c0fd40744eae21a7cadf2baa82fbe5d52d88caa77141569aca7ec24a74ab50 - 95.91% (85.8 MB)
[#004] sha256:c03dbaaa41b8ee6f5a32a619fbebf060f7240bf0bc16015f79464a25fe109561 - 0.01% (9.23 KB)
[#005] sha256:bef2a254675917b518b22e0d6f52b714cf40efb63e1604b507cd0f0fc13e28e9 - 0.0% (160 Bytes)
[#006] sha256:d80603666f21230144fd56ef3ed0682c5565c0dfc01287ea7dd2db2665c15021 - 0.0% (201 Bytes)
[#007] sha256:b76686cd29264b29eda240c43b97eb12ff0116d5b79bf31d10479e1d2b0d8a4f - 0.01% (4.68 KB)
[#008] sha256:3d2a61cc2d121c40da418a6154d717e3530a4693e95935a1723d13be8beb533f - 0.0% (2.45 KB)
[#009] sha256:6375fc1e5bb7025416815f5e679c16bf03b8cf6290f2dda160f6855fa422a469 - 0.0% (254 Bytes)
[#010] sha256:3bdd0cb87a06cdfc73cf59cf88aa606cd0c0e848f77c44d8de801c3a86428bc7 - 0.0% (399 Bytes)
[#011] sha256:1f6c7e4c26bdcc494c0bab95bc4c4d7b0533ca597089301485757dcb741db27c - 0.44% (402 KB)
/bin/sh -c #(nop) ADD file:32ff5e7a78b890996ee4681cc0a26185d3e9acdb4eb1e2aaccb2411f922fed6b in /
2023-08-07 19:20:20 UTC/bin/sh -c #(nop) CMD ["/bin/sh"]
2023-08-09 02:26: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-08-09 02:26:58 UTC/bin/sh -c #(nop) ENV LANG=en_US.utf8
2023-08-09 02:26:58 UTC/bin/sh -c mkdir /docker-entrypoint-initdb.d
2023-08-09 02:32:50 UTC/bin/sh -c #(nop) ENV PG_MAJOR=15
2023-08-11 18:46:33 UTC/bin/sh -c #(nop) ENV PG_VERSION=15.4
2023-08-11 18:46:33 UTC/bin/sh -c #(nop) ENV PG_SHA256=baec5a4bdc4437336653b6cb5d9ed89be5bd5c0c58b94e0becee0a999e63c8f9
2023-08-11 18:46:33 UTC/bin/sh -c #(nop) ENV DOCKER_PG_LLVM_DEPS=llvm15-dev clang15
2023-08-11 18:49:12 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 $DOCKER_PG_LLVM_DEPS bison coreutils dpkg-dev dpkg flex g++ gcc krb5-dev libc-dev libedit-dev libxml2-dev libxslt-dev linux-headers 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'; export LLVM_CONFIG="/usr/lib/llvm15/bin/llvm-config"; export CLANG=clang-15; ./configure --enable-option-checking=fatal --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-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-08-11 18:49:13 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-08-11 18:49:13 UTC/bin/sh -c mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 3777 /var/run/postgresql
2023-08-11 18:49:13 UTC/bin/sh -c #(nop) ENV PGDATA=/var/lib/postgresql/data
2023-08-11 18:49:14 UTC/bin/sh -c mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 1777 "$PGDATA"
2023-08-11 18:49:14 UTC/bin/sh -c #(nop) VOLUME [/var/lib/postgresql/data]
2023-08-11 18:49:14 UTC/bin/sh -c #(nop) COPY file:e635913e9467265f505455bc3f08bed37d67ce6597a1f10365f8faf79f09b654 in /usr/local/bin/
2023-08-11 18:49:14 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
2023-08-11 18:49:14 UTC/bin/sh -c #(nop) STOPSIGNAL SIGINT
2023-08-11 18:49:14 UTC/bin/sh -c #(nop) EXPOSE 5432
2023-08-11 18:49:14 UTC/bin/sh -c #(nop) CMD ["postgres"]
2023-09-05 10:13:18 UTC (buildkit.dockerfile.v0)COPY start.sh /start.sh # buildkit
2023-09-05 10:13:18 UTC (buildkit.dockerfile.v0)COPY healthcheck.sh /healthcheck.sh # buildkit
2023-09-05 10:13:18 UTC (buildkit.dockerfile.v0)COPY init-user-db.sh /docker-entrypoint-initdb.d/init-user-db.sh # buildkit
2023-09-05 10:13:20 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; apk add --no-cache bash openssl shadow grep; 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; apk del --no-cache shadow; chown -R postgres:postgres /var/lib/postgresql; chown -R postgres:postgres /var/run/postgresql; chmod -R 777 /var/run/postgresql; chown -R postgres:postgres "$PGDATA"; mkdir /mnt/data; chown postgres:postgres /mnt/data; echo "root:$(openssl rand -base64 12)" | chpasswd; apk --no-cache del openssl; # buildkit
2023-09-05 10:13:20 UTC (buildkit.dockerfile.v0)VOLUME [/mnt/data]
2023-09-05 10:13:20 UTC (buildkit.dockerfile.v0)USER postgres
2023-09-05 10:13:20 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/start.sh"]
2023-09-05 10:13:20 UTC (buildkit.dockerfile.v0)HEALTHCHECK &{["CMD-SHELL" "/healthcheck.sh"] "0s" "0s" "0s" "0s" '\x00'}
2023-09-05 10:13:20 UTC (buildkit.dockerfile.v0)LABEL com.centurylinklabs.watchtower.enable=false
2023-09-05 10:14:02 UTC
88.4 MB
llvm15-dev clang15
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/data
PG_MAJOR15
PG_SHA256baec5a4bdc4437336653b6cb5d9ed89be5bd5c0c58b94e0becee0a999e63c8f9
PG_VERSION15.4
[#000] sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d - 3.59% (3.18 MB)
[#001] sha256:b0d9bb38da5c5028501beae80106d05b613152a17992c22e8f932955cd56d591 - 0.0% (1.25 KB)
[#002] sha256:a99f2e61e52526c29737f6852964ac1f22db3b43a8a1781aa9014fbcdee63e20 - 0.0% (147 Bytes)
[#003] sha256:675a64a52cf37f4b59e9525cbef8fc099c21e391b058aac28abd1b8c908c57fd - 95.94% (84.9 MB)
[#004] sha256:0abcb1cdedc98f3d9d07c55e37f6a3ec9b92c29a325ab1fce2da9f5cb554ca1b - 0.01% (9.23 KB)
[#005] sha256:a86e63e9f2687dd93190461a4b75e4a2909b4cdcbc81db1a1e58c74c129f0bcf - 0.0% (162 Bytes)
[#006] sha256:dd648e2387c1d085a4f6fa19f4e03093b9acc6a7f6189a9ce597fbce312ce259 - 0.0% (202 Bytes)
[#007] sha256:248af3a055f3c82492cfc8eb19617e4afc0e3eac082eef302ac16153846b5fa5 - 0.01% (4.68 KB)
[#008] sha256:e3fd701472b772f586708fcab11f94689fc60ab4359c61264fe06277e1f70f9c - 0.0% (2.45 KB)
[#009] sha256:ce67c4df737c6f9c237e3ffc7430a83d3ff6ee519a1ea5d003956e284e16071e - 0.0% (254 Bytes)
[#010] sha256:97de3a3d0db995762d54e8f0fc04b51dab46eb534f4c496e068fd4f530e59f17 - 0.0% (399 Bytes)
[#011] sha256:f06607725ccfe2315a95a59a66b8f903151b12920081b7918b869192f9c218fe - 0.45% (405 KB)
/bin/sh -c #(nop) ADD file:b2e7eaa7e41f08853dbe08d84439a7f9fd32fc58c3aa1e298f3f60343b2b683a in /
2023-08-07 19:39:19 UTC/bin/sh -c #(nop) CMD ["/bin/sh"]
2023-08-09 03:08:16 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-08-09 03:08:16 UTC/bin/sh -c #(nop) ENV LANG=en_US.utf8
2023-08-09 03:08:16 UTC/bin/sh -c mkdir /docker-entrypoint-initdb.d
2023-08-09 03:13:05 UTC/bin/sh -c #(nop) ENV PG_MAJOR=15
2023-08-11 19:09:43 UTC/bin/sh -c #(nop) ENV PG_VERSION=15.4
2023-08-11 19:09:43 UTC/bin/sh -c #(nop) ENV PG_SHA256=baec5a4bdc4437336653b6cb5d9ed89be5bd5c0c58b94e0becee0a999e63c8f9
2023-08-11 19:09:43 UTC/bin/sh -c #(nop) ENV DOCKER_PG_LLVM_DEPS=llvm15-dev clang15
2023-08-11 19:11: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 $DOCKER_PG_LLVM_DEPS bison coreutils dpkg-dev dpkg flex g++ gcc krb5-dev libc-dev libedit-dev libxml2-dev libxslt-dev linux-headers 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'; export LLVM_CONFIG="/usr/lib/llvm15/bin/llvm-config"; export CLANG=clang-15; ./configure --enable-option-checking=fatal --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-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-08-11 19:11:41 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-08-11 19:11:41 UTC/bin/sh -c mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 3777 /var/run/postgresql
2023-08-11 19:11:41 UTC/bin/sh -c #(nop) ENV PGDATA=/var/lib/postgresql/data
2023-08-11 19:11:42 UTC/bin/sh -c mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 1777 "$PGDATA"
2023-08-11 19:11:42 UTC/bin/sh -c #(nop) VOLUME [/var/lib/postgresql/data]
2023-08-11 19:11:42 UTC/bin/sh -c #(nop) COPY file:e635913e9467265f505455bc3f08bed37d67ce6597a1f10365f8faf79f09b654 in /usr/local/bin/
2023-08-11 19:11:42 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
2023-08-11 19:11:42 UTC/bin/sh -c #(nop) STOPSIGNAL SIGINT
2023-08-11 19:11:42 UTC/bin/sh -c #(nop) EXPOSE 5432
2023-08-11 19:11:42 UTC/bin/sh -c #(nop) CMD ["postgres"]
2023-09-05 10:13:55 UTC (buildkit.dockerfile.v0)COPY start.sh /start.sh # buildkit
2023-09-05 10:13:55 UTC (buildkit.dockerfile.v0)COPY healthcheck.sh /healthcheck.sh # buildkit
2023-09-05 10:13:55 UTC (buildkit.dockerfile.v0)COPY init-user-db.sh /docker-entrypoint-initdb.d/init-user-db.sh # buildkit
2023-09-05 10:14:02 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -ex; apk add --no-cache bash openssl shadow grep; 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; apk del --no-cache shadow; chown -R postgres:postgres /var/lib/postgresql; chown -R postgres:postgres /var/run/postgresql; chmod -R 777 /var/run/postgresql; chown -R postgres:postgres "$PGDATA"; mkdir /mnt/data; chown postgres:postgres /mnt/data; echo "root:$(openssl rand -base64 12)" | chpasswd; apk --no-cache del openssl; # buildkit
2023-09-05 10:14:02 UTC (buildkit.dockerfile.v0)VOLUME [/mnt/data]
2023-09-05 10:14:02 UTC (buildkit.dockerfile.v0)USER postgres
2023-09-05 10:14:02 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/start.sh"]
2023-09-05 10:14:02 UTC (buildkit.dockerfile.v0)HEALTHCHECK &{["CMD-SHELL" "/healthcheck.sh"] "0s" "0s" "0s" "0s" '\x00'}
2023-09-05 10:14:02 UTC (buildkit.dockerfile.v0)LABEL com.centurylinklabs.watchtower.enable=false
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.