2024-11-21 20:16:44 UTC
100 MB
llvm15-dev clang15
GOSU_VERSION1.17
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/data
PG_MAJOR17
PG_SHA25682ef27c0af3751695d7f64e2d963583005fbb6a0c3df63d0e4b42211d7021164
PG_VERSION17.2
[#000] sha256:ab80d4d2b0222e03eca115215a16260e1a5f86f8b55e9b677e9d5c30b909a6af - 3.09% (3.1 MB)
[#001] sha256:098dac6ecb36bd931b13e527f0e22038a7a6f1f2d0fe1655033884efdd8815e7 - 0.0% (1.24 KB)
[#002] sha256:281fc630464d9582a59a9e94fca4443e89613bd2ffc48f6d21c8be7a0f0d2049 - 1.04% (1.04 MB)
[#003] sha256:f5b9de8547a20a3e0c7b0843b8e0d382a1de6cd0e4fe3eb06edd36024d64a799 - 0.0% (116 Bytes)
[#004] sha256:7ab5812874a2f4e47158262d31675adbe1a768690acf5f247bb72f7c51d0c021 - 95.85% (96.3 MB)
[#005] sha256:80fc7eb9a1d510cefd21bee0a0a9cd85e5430b8015ff02849e3a2efe1ffa14bb - 0.01% (9.65 KB)
[#006] sha256:b671ea2934646e3827efee043f07bebdeff5802f9d0fdb8c32041d50f302624c - 0.0% (129 Bytes)
[#007] sha256:37d6e8782e42448318c4d3dcd0c19e009c9045f66258656af347dec5ebff3d83 - 0.0% (171 Bytes)
[#008] sha256:63c2f116a99047a6df42665024f0cc687c21b5008e57936ecaa7e56750e7b8cb - 0.01% (5.29 KB)
[#009] sha256:a88f6e149e0f55fa7d5ce5ad08481fd54b80cdd5a38689d3093303f725e302cd - 0.0% (185 Bytes)
ADD alpine-minirootfs-3.19.4-x86.tar.gz / # buildkit
2024-09-06 12:04:22 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /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; install --verbose --directory --owner postgres --group postgres --mode 1777 /var/lib/postgresql # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache --virtual .gosu-deps ca-certificates dpkg gnupg ; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; apk del --no-network .gosu-deps; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=17
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=17.2
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=82ef27c0af3751695d7f64e2d963583005fbb6a0c3df63d0e4b42211d7021164
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm15-dev clang15
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /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-tap-tests --disable-rpath --with-uuid=e2fs --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-bin; make install-world-bin; 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 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 # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /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 # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2024-11-21 20:16:44 UTC
95.6 MB
llvm15-dev clang15
GOSU_VERSION1.17
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/data
PG_MAJOR17
PG_SHA25682ef27c0af3751695d7f64e2d963583005fbb6a0c3df63d0e4b42211d7021164
PG_VERSION17.2
[#000] sha256:a7cd7d9a21440da0d765f2989d75f069adf9b3463a765421a0590bca720920d4 - 3.41% (3.26 MB)
[#001] sha256:1a131ad200dfe8bc788cc01e4739eb00623b97ba675d0751d2b88794de48fdcd - 0.0% (1.24 KB)
[#002] sha256:2b6ab41c9c2cd44bc74cd805f08129b8f28f00398f6503f59f3fcf7b8c24a8f1 - 1.12% (1.07 MB)
[#003] sha256:04122fdccbe4a626bc7d72b62ec34b8db231e187906eb3910aa752e3bfa8e392 - 0.0% (116 Bytes)
[#004] sha256:79cce51d61fb677af3c4f8ae3aaf0f0de74eb0a6eef0084b24f7d1dfe2fe3581 - 95.45% (91.2 MB)
[#005] sha256:b2c49ada244c093d930ff9af59f0212e35b6cade701e562953b313af6f657308 - 0.01% (9.65 KB)
[#006] sha256:6b40f412537f212cdcd1cc8bf8db63a43913f41257912d47c366dcdebd6d5644 - 0.0% (129 Bytes)
[#007] sha256:268f19acd93af903925b7d356884fafdffc03f2ec7dc8e325ff680f8f0014956 - 0.0% (171 Bytes)
[#008] sha256:c318b8bda2a92e8ecf8fefb97f1bd849af89efd5c51c8945423c521e99a0c7fb - 0.01% (5.29 KB)
[#009] sha256:83fe8a930454b30ce4fac678e9e23a20e6d2f3483f22bd664273ff2f220f0920 - 0.0% (184 Bytes)
ADD alpine-minirootfs-3.19.4-x86_64.tar.gz / # buildkit
2024-09-06 12:04:22 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /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; install --verbose --directory --owner postgres --group postgres --mode 1777 /var/lib/postgresql # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache --virtual .gosu-deps ca-certificates dpkg gnupg ; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; apk del --no-network .gosu-deps; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=17
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=17.2
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=82ef27c0af3751695d7f64e2d963583005fbb6a0c3df63d0e4b42211d7021164
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm15-dev clang15
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /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-tap-tests --disable-rpath --with-uuid=e2fs --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-bin; make install-world-bin; 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 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 # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /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 # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2024-11-21 20:16:44 UTC
94 MB
llvm15-dev clang15
GOSU_VERSION1.17
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/data
PG_MAJOR17
PG_SHA25682ef27c0af3751695d7f64e2d963583005fbb6a0c3df63d0e4b42211d7021164
PG_VERSION17.2
[#000] sha256:1962dd3845094270fb16c55729f52e68e09c9fdecbe06ccfa89e981fa679172d - 3.22% (3.03 MB)
[#001] sha256:1129eba1c516693bf2f340f0343f658e37e7812832c7f2e7493ce214856d3fc0 - 0.0% (1.24 KB)
[#002] sha256:1855f1ed4c4392b8709ed6c84e2a119012e83c080f39bb8faf7f1bbc735a9252 - 1.1% (1.04 MB)
[#003] sha256:5aa2615eec230123f6a0e89ad8b2756fe04419eb394d6645c8c6d069b10e09b7 - 0.0% (116 Bytes)
[#004] sha256:0fbf24a0df5864945afcfe186af39b44969d19a5c7d3382b3629084d49026c97 - 95.66% (89.9 MB)
[#005] sha256:f340bd1ac87e5ab2d57e5cd4d6445b8238d55ac9a15384428e679cc5bc5600d8 - 0.01% (9.65 KB)
[#006] sha256:9e1352c5e5ecd35e7fe254b459955c6400e9773de93492a50f6a189eed9db208 - 0.0% (128 Bytes)
[#007] sha256:e9b1f2fb1ad1de757c83e0c1cdb7295257c6dc6e026e1d30ec7c9fd9068790be - 0.0% (170 Bytes)
[#008] sha256:0ce26f4f554b0a6dde21f6204de8ef16fdd33e450e7aa73187958d6944456456 - 0.01% (5.29 KB)
[#009] sha256:fc2e4d4daead4cc5cb4522f71e02674a483737b37a4eeae484d5ca62db5da098 - 0.0% (185 Bytes)
ADD alpine-minirootfs-3.19.4-armhf.tar.gz / # buildkit
2024-09-06 12:04:22 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /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; install --verbose --directory --owner postgres --group postgres --mode 1777 /var/lib/postgresql # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache --virtual .gosu-deps ca-certificates dpkg gnupg ; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; apk del --no-network .gosu-deps; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=17
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=17.2
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=82ef27c0af3751695d7f64e2d963583005fbb6a0c3df63d0e4b42211d7021164
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm15-dev clang15
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /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-tap-tests --disable-rpath --with-uuid=e2fs --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-bin; make install-world-bin; 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 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 # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /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 # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2024-11-21 20:16:44 UTC
88.5 MB
llvm15-dev clang15
GOSU_VERSION1.17
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/data
PG_MAJOR17
PG_SHA25682ef27c0af3751695d7f64e2d963583005fbb6a0c3df63d0e4b42211d7021164
PG_VERSION17.2
[#000] sha256:02dfd5e2e7e47e8d8f9020a0d7f4d8240d6646afc6a52b168c0899bc0c3d06a3 - 3.15% (2.79 MB)
[#001] sha256:c5db41ad436d5f7ebd4024d28883a253bc45e3577ec71b917f3af8f6247e0a49 - 0.0% (1.24 KB)
[#002] sha256:07ec4ab37e54f1eaa5a6a0648af6ccfa09df4dda8aebd4bfd4c95a09aeeaf220 - 1.17% (1.04 MB)
[#003] sha256:7d724b69202dff14aa464310c973a9df72cd3040855d59315ec350389a2a1ac8 - 0.0% (116 Bytes)
[#004] sha256:6f8b51acf95c93c2caaab8251f44816d32e3abb05707492e2a10eb00a385c5bb - 95.66% (84.7 MB)
[#005] sha256:17e4d2702f315edc1577971a24cd2e13d5c3dfe38117752208e9552fb0a7a587 - 0.01% (9.65 KB)
[#006] sha256:276a149cebc181050581e0cb464c06a0c1abc89525b5f0a75aac4849c4fb2b71 - 0.0% (128 Bytes)
[#007] sha256:f2e8f7b69ccf132e2ce12e3f8df1081bd5b7edf41370b7d029045219eb975a2d - 0.0% (171 Bytes)
[#008] sha256:a3251269339c97ef6698b570e43f8e54d183cc484d3669179169815a451a44ed - 0.01% (5.29 KB)
[#009] sha256:c4cd1d20d957c7f46b4f76429c2b7583abe559dc9fa4cf0425fcab5da06eb685 - 0.0% (185 Bytes)
ADD alpine-minirootfs-3.19.4-armv7.tar.gz / # buildkit
2024-09-06 12:04:22 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /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; install --verbose --directory --owner postgres --group postgres --mode 1777 /var/lib/postgresql # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache --virtual .gosu-deps ca-certificates dpkg gnupg ; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; apk del --no-network .gosu-deps; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=17
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=17.2
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=82ef27c0af3751695d7f64e2d963583005fbb6a0c3df63d0e4b42211d7021164
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm15-dev clang15
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /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-tap-tests --disable-rpath --with-uuid=e2fs --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-bin; make install-world-bin; 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 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 # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /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 # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2024-11-21 20:16:44 UTC
94.2 MB
llvm15-dev clang15
GOSU_VERSION1.17
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/data
PG_MAJOR17
PG_SHA25682ef27c0af3751695d7f64e2d963583005fbb6a0c3df63d0e4b42211d7021164
PG_VERSION17.2
[#000] sha256:6c9d4d66fb4987fcd48c673e8b29bb504a3cfb33f10b97cbcea126aa3b8b59fd - 3.4% (3.2 MB)
[#001] sha256:0e12908080ef4c1fe1084233332d7f38ee24d4d9205cf67d2efaaf56b48161c8 - 0.0% (1.24 KB)
[#002] sha256:108f2378d159809cd20c16968f33184d490c2aeb6efac4b1ab24cb3014f9012e - 1.06% (1 MB)
[#003] sha256:e0574a0204490784b6f86c828e9b9e0b9a18f73d46a87ddb9924c9793759a4fa - 0.0% (116 Bytes)
[#004] sha256:51b7a1181c884718bfa2409214bddcde404dadbb7082b417f0e8bda3d7d0f635 - 95.52% (90 MB)
[#005] sha256:762657a0e6924736e46c2d1481de5414d2763fc6387c4ea747a570301b64cd66 - 0.01% (9.65 KB)
[#006] sha256:3f3debf19649a944327b99c2dd2654e35fc8a1c90ea9a510f7938db4b7d9c1ca - 0.0% (128 Bytes)
[#007] sha256:9d4f6bc706d1968ab4504b47006152457d0c18718a2a4938fcc090c3706b41fb - 0.0% (170 Bytes)
[#008] sha256:2032a6b616735c7b03e76e863eb58ba67e466e70b9eade3753b821e06500564b - 0.01% (5.29 KB)
[#009] sha256:764a070e1cb7471c954677ad05392b53940366587bef5aaf48915d4c972ce96b - 0.0% (185 Bytes)
ADD alpine-minirootfs-3.19.4-aarch64.tar.gz / # buildkit
2024-09-06 12:04:22 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /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; install --verbose --directory --owner postgres --group postgres --mode 1777 /var/lib/postgresql # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache --virtual .gosu-deps ca-certificates dpkg gnupg ; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; apk del --no-network .gosu-deps; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=17
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=17.2
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=82ef27c0af3751695d7f64e2d963583005fbb6a0c3df63d0e4b42211d7021164
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm15-dev clang15
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /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-tap-tests --disable-rpath --with-uuid=e2fs --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-bin; make install-world-bin; 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 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 # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /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 # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2024-11-21 20:16:44 UTC
99.8 MB
llvm15-dev clang15
GOSU_VERSION1.17
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/data
PG_MAJOR17
PG_SHA25682ef27c0af3751695d7f64e2d963583005fbb6a0c3df63d0e4b42211d7021164
PG_VERSION17.2
[#000] sha256:c3045cb4f0dd3320c62c35c3443bc350e64a45c48666004b29e9912a645e7b35 - 3.21% (3.21 MB)
[#001] sha256:6b210ec8ed1260138487b366b6cc6cf870563d4506a35f0a64ccdc7db288b503 - 0.0% (1.24 KB)
[#002] sha256:17f569b818764a75b625723057d18967c65a9adae20004f6d1aa2a6a6f141f80 - 0.99% (1020 KB)
[#003] sha256:6697f9d81e7059cf86b1c0c4f1cc74951f8eab3fffb303aac2b029b9fb7a86d1 - 0.0% (116 Bytes)
[#004] sha256:986b9556673898ad1c3daf6457d0b742bb45285f04cdcbbe3b9a80ca47d90b75 - 95.78% (95.6 MB)
[#005] sha256:93ef0b7386107981b58d8db9322cb6982d8bc349f38dcd9925b868fd4443ea21 - 0.01% (9.66 KB)
[#006] sha256:ac471110df9ad1ff5065cf4887338dfc6cd32239b59e3117c7a7ac20726624fe - 0.0% (128 Bytes)
[#007] sha256:b9da032f504760b4a15134b9950829b9eb07d2582a150e3ac9bd47089aff3986 - 0.0% (169 Bytes)
[#008] sha256:f0b6c895dbc1f9687d72b4ca89c495b3ac0b81966d227b7a7ecc8bf072f3069e - 0.01% (5.29 KB)
[#009] sha256:09a9aa95d6f87fb60e260c9f7858c6591a6612d1763237a59e08c7b847dc182b - 0.0% (185 Bytes)
ADD alpine-minirootfs-3.19.4-ppc64le.tar.gz / # buildkit
2024-09-06 12:04:22 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /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; install --verbose --directory --owner postgres --group postgres --mode 1777 /var/lib/postgresql # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache --virtual .gosu-deps ca-certificates dpkg gnupg ; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; apk del --no-network .gosu-deps; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=17
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=17.2
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=82ef27c0af3751695d7f64e2d963583005fbb6a0c3df63d0e4b42211d7021164
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm15-dev clang15
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /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-tap-tests --disable-rpath --with-uuid=e2fs --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-bin; make install-world-bin; 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 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 # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /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 # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
2024-11-21 20:16:44 UTC
104 MB
llvm15-dev clang15
GOSU_VERSION1.17
LANGen_US.utf8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PGDATA/var/lib/postgresql/data
PG_MAJOR17
PG_SHA25682ef27c0af3751695d7f64e2d963583005fbb6a0c3df63d0e4b42211d7021164
PG_VERSION17.2
[#000] sha256:6281353bb84e1beeb4deabf01093d4ab69b089bed69f3a95c18702b149677456 - 2.99% (3.1 MB)
[#001] sha256:7508d4d6ac64ab81f5f150e33662bfd19f23a5c43a2e417c08da4ef9669ea599 - 0.0% (1.24 KB)
[#002] sha256:50692ebd9455b35336c3bbf6d65952fc740571194ad1404bee4b68c65a2d5eda - 1.0% (1.03 MB)
[#003] sha256:675472544225f3f0b54c14fd67c997975747195a47a58a9d39b99a87fde00069 - 0.0% (116 Bytes)
[#004] sha256:c8deb21e4abc496a7fc134746ba2c86c85c733459f4652d0637b789d5d8b6328 - 96.0% (99.7 MB)
[#005] sha256:84db4e15aaa5caeafb3fb0b37cf1e9a52ae30226cc4f3789996ed93f4913e321 - 0.01% (9.66 KB)
[#006] sha256:7f66a36015cc7237c0243cb490db23f7853dffea8290b075610fec4695a39ed8 - 0.0% (128 Bytes)
[#007] sha256:e980b3cf8aceb955215e05c13572195c36999a446f6335afe020dbdd65392ae9 - 0.0% (169 Bytes)
[#008] sha256:f2f90c7aa19fb093636336ba53fa6611a3b1b3563399dba46292bd22c9e9d1c2 - 0.0% (5.29 KB)
[#009] sha256:f287db1ac4343d14a7fc035db7b6829ec168b0fc0901aa54dd3abe2f65b2d4a2 - 0.0% (187 Bytes)
ADD alpine-minirootfs-3.19.4-s390x.tar.gz / # buildkit
2024-09-06 12:04:22 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /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; install --verbose --directory --owner postgres --group postgres --mode 1777 /var/lib/postgresql # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache --virtual .gosu-deps ca-certificates dpkg gnupg ; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; gpgconf --kill all; rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; apk del --no-network .gosu-deps; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=17
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=17.2
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=82ef27c0af3751695d7f64e2d963583005fbb6a0c3df63d0e4b42211d7021164
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm15-dev clang15
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /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-tap-tests --disable-rpath --with-uuid=e2fs --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-bin; make install-world-bin; 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 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 # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /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 # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2024-11-21 20:16:44 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
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.