sha256:d01bce266e572ecceb1eae7c46701c584bda02988b4806d8c95284c1d099b76c
2024-09-26 18:19:57 UTC
101 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_SHA2567e276131c0fdd6b62588dbad9b3bb24b8c3498d5009328dba59af16e819109de
PG_VERSION17.0
[#000] sha256:9d36213c2c70043b8757c7d7ef3b21782d1ad5b2dd6d50df305e14054d6a1cb7 - 3.29% (3.31 MB)
[#001] sha256:e77a71615792e8353ec12f8340035c5bbfabca6498afe55c5de12cc11d6fae3e - 0.0% (982 Bytes)
[#002] sha256:4714775dccb2afe40e1c4bd01dce8bdb89999fb28babe15e0b4b60d17d425090 - 1.04% (1.04 MB)
[#003] sha256:1256e48bcf0cd6196f69e3a2537ed81cba017efd79c903729ebbc72dd2bf632c - 0.0% (116 Bytes)
[#004] sha256:a243530d44040920a4806b2d3b55ee0e4fbabcc9a61cd320e592d428b5df1805 - 95.66% (96.3 MB)
[#005] sha256:63a184f69b4e87e5974525cb09577dfc7ba9b2e2fe4c667d432511f279a94b97 - 0.01% (9.65 KB)
[#006] sha256:2e6512b5b19a1de41f16e865fa094dbc7205f942e5dec48704af210bea4f76b5 - 0.0% (129 Bytes)
[#007] sha256:2cc5c70f762117a274440fdf79af1a29e361012a227c47a505451840be68398d - 0.0% (170 Bytes)
[#008] sha256:bbc418b4fcc5942c632e6d1195b4d95fb937547fde93cbe58cc5242e77c95888 - 0.01% (5.29 KB)
[#009] sha256:21d58ecb2ea3b1ffb6bb6cb77e5e1e49790a737934eb60051c3884264f43d885 - 0.0% (185 Bytes)
ADD alpine-minirootfs-3.20.3-x86.tar.gz / # buildkit
2024-09-06 12:05:36 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2024-09-26 18:19:57 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-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2024-09-26 18:19:57 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-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=17
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=17.0
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=7e276131c0fdd6b62588dbad9b3bb24b8c3498d5009328dba59af16e819109de
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm15-dev clang15
2024-09-26 18:19:57 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-09-26 18:19:57 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-09-26 18:19:57 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
sha256:26f3bf9ace5609a3e0ab7a4663499677df789181aceb22d411b418bb6a5f4912
2024-09-26 18:19:57 UTC
95.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_SHA2567e276131c0fdd6b62588dbad9b3bb24b8c3498d5009328dba59af16e819109de
PG_VERSION17.0
[#000] sha256:da9db072f522755cbeb85be2b3f84059b70571b229512f1571d9217b77e1087f - 3.61% (3.46 MB)
[#001] sha256:7d76525d9c145a31866555888ea08768d24aa38c6d7fb28395dcd75e0c16879f - 0.0% (987 Bytes)
[#002] sha256:2d689db2246bb25cbbb2869ed12efbf488b9eab629b11f347b0ec5d5353c37dd - 1.11% (1.07 MB)
[#003] sha256:16793baf13fea91ebc01b88f527ecdfc753e56d23f6b1023a9c3a14168447017 - 0.0% (116 Bytes)
[#004] sha256:e12cb3eb653bb453208119624dff86a044a7002ce54913429f8cefe3e768efcf - 95.26% (91.2 MB)
[#005] sha256:85f5b99577e9041b0b1a14fa57c46a1eac3b7ab2efbbe53d8c3504b2d27560a2 - 0.01% (9.65 KB)
[#006] sha256:473115ac7a5e83828289743f63611e18b38b00d930ec6b6228164a5482b0d50f - 0.0% (128 Bytes)
[#007] sha256:69e64fdbd08cef636e49e27f04b4d7d955e44dda4827a150daec9f32ab1ef22d - 0.0% (171 Bytes)
[#008] sha256:2d7211f154e35f760aa1cc149551f7f32d6b66bd56cc321a101cf65a2bf0c14c - 0.01% (5.29 KB)
[#009] sha256:8b8f055289bc831902b29b84bcac2110308a909accb898140d6f8eac02a6bc5a - 0.0% (182 Bytes)
ADD alpine-minirootfs-3.20.3-x86_64.tar.gz / # buildkit
2024-09-06 12:05:36 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2024-09-26 18:19:57 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-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2024-09-26 18:19:57 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-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=17
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=17.0
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=7e276131c0fdd6b62588dbad9b3bb24b8c3498d5009328dba59af16e819109de
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm15-dev clang15
2024-09-26 18:19:57 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-09-26 18:19:57 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-09-26 18:19:57 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
sha256:63830a0e61c7c201a6b5eb150a824255900167cd4a009d955ec19b32ef0f2db8
2024-09-26 18:19:57 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_SHA2567e276131c0fdd6b62588dbad9b3bb24b8c3498d5009328dba59af16e819109de
PG_VERSION17.0
[#000] sha256:655a2516811563036720a66963f9c64bc14eb53aac8eeceaebcda6bf661651bb - 3.41% (3.21 MB)
[#001] sha256:c571936168ff49222fc45202f5453daceaaad85841344e7a56766ac0c06bcc0b - 0.0% (983 Bytes)
[#002] sha256:1fd27d05dad1bb8227f4e72ddcbdcd2601f74b55f8b2929cff613d173bc82672 - 1.1% (1.04 MB)
[#003] sha256:6ec73cec0b60e9bb0c9f565ef2f04ec56351dbdfa17855c65158c709d70ee6c0 - 0.0% (116 Bytes)
[#004] sha256:96d343ec04aaf10d6dce49d121f8d1c417ce19a50f312329ee7b33c80558b067 - 95.47% (89.9 MB)
[#005] sha256:1e977397da2f19770c781e1e23033af50d7c6bc30395dca2222901b48162a440 - 0.01% (9.65 KB)
[#006] sha256:5232a9a55323a8cfa4024880818b0c8efac1ee0a138090564cf85cdf008712d7 - 0.0% (129 Bytes)
[#007] sha256:7caacb08bb531e7b8675a1ff90de5079b7dd9339e9d53861408cf68db390059a - 0.0% (168 Bytes)
[#008] sha256:08014a5dff332e60810c6de6d8504007efd632a129fd828a9cabccb126453330 - 0.01% (5.29 KB)
[#009] sha256:5fd4cfd0ea9c6f4fc3f4bb7770ed5ffa45fd72aa02ad7b600d46d80aef6823f6 - 0.0% (186 Bytes)
ADD alpine-minirootfs-3.20.3-armhf.tar.gz / # buildkit
2024-09-06 12:05:36 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2024-09-26 18:19:57 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-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2024-09-26 18:19:57 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-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=17
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=17.0
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=7e276131c0fdd6b62588dbad9b3bb24b8c3498d5009328dba59af16e819109de
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm15-dev clang15
2024-09-26 18:19:57 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-09-26 18:19:57 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-09-26 18:19:57 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
sha256:f30c6f5a6dade45af915a51f9100b385225375b4dfca8c2fe9f0f8050439f041
2024-09-26 18:19:57 UTC
88.7 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_SHA2567e276131c0fdd6b62588dbad9b3bb24b8c3498d5009328dba59af16e819109de
PG_VERSION17.0
[#000] sha256:2723bbe95689a46bd4cbe83e27fb42475660f41b02c96d21411fa76d803e8553 - 3.33% (2.95 MB)
[#001] sha256:7c21ecb73dc55fd83632acacd41b321b4eaec1e1713eebdb34dd26505cb4f6a9 - 0.0% (984 Bytes)
[#002] sha256:7da6f24cb862024156e04c8278ef84e0343ffffefc262f30e35f293bb46a8cd8 - 1.17% (1.04 MB)
[#003] sha256:38f8563474d48c8fd0d48daf9faa1e7ea5e19e7d14d51b98f52c0f0fe4970c92 - 0.0% (116 Bytes)
[#004] sha256:05518ce499c30a8fa2161d741b0eea4b9be0298c34c53d0d4ae115e1251abe50 - 95.48% (84.7 MB)
[#005] sha256:a31442b2eccd0f4d068ff071b0c5bfe81a81627825c376ea51889393b92d2280 - 0.01% (9.65 KB)
[#006] sha256:898b3fe1ea0c74c355ec3b45be583b24d34b3b14693797a733a80b7e52343484 - 0.0% (129 Bytes)
[#007] sha256:8c2e73386d536b75f4b25211387c3a3e452f691c879234b12ffc90e260f8fe6f - 0.0% (170 Bytes)
[#008] sha256:0b564e3e4edfa787eede4e63f6e10ec6749fd31417d98e1fc5500d7625d48550 - 0.01% (5.29 KB)
[#009] sha256:a9ff51a020a037f001d241984bd141528caf54bb868228ccf29c28b0b673cccc - 0.0% (185 Bytes)
ADD alpine-minirootfs-3.20.3-armv7.tar.gz / # buildkit
2024-09-06 12:05:36 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2024-09-26 18:19:57 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-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2024-09-26 18:19:57 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-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=17
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=17.0
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=7e276131c0fdd6b62588dbad9b3bb24b8c3498d5009328dba59af16e819109de
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm15-dev clang15
2024-09-26 18:19:57 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-09-26 18:19:57 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-09-26 18:19:57 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
sha256:28d5db4d9013bb9be59126273cf52dfc223ab6a0ed84f7dd918de42d8fc84956
2024-09-26 18:19:57 UTC
95.4 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_SHA2567e276131c0fdd6b62588dbad9b3bb24b8c3498d5009328dba59af16e819109de
PG_VERSION17.0
[#000] sha256:9986a736f7d3d24bb01b0a560fa0f19c4b57e56c646e1f998941529d28710e6b - 4.09% (3.9 MB)
[#001] sha256:282ccaec3303c52912b806dcadd0d5ff9ee884124945b8476220f8b85d0a3df9 - 0.0% (985 Bytes)
[#002] sha256:896d994e2a0b432bc3a247e0ad5db617f8492c21a01b2e825af2145fdffbff0e - 1.05% (1020 KB)
[#003] sha256:61d89227545e806bf78f1bc526c66569169813144600444d8572fc1dddf4d72b - 0.0% (116 Bytes)
[#004] sha256:6bd64da7c677ed6c74e3208f78db3a38259aad55e2c323167aa7fdf63bb59d29 - 94.85% (90.5 MB)
[#005] sha256:001ca40c9fedd74f5f061e9b30083f76d17bb00b8f35fe6685a1ecf16e5eb974 - 0.01% (9.65 KB)
[#006] sha256:64986883b469a886b0f3f9aa0a056e5e35580f338def44e58a49ced7fd7b30f4 - 0.0% (128 Bytes)
[#007] sha256:9a1f8e5e61bfb22b62981f275d647a9aa1ad79470c67e83fad51c49f608e5c2b - 0.0% (169 Bytes)
[#008] sha256:479b6e88b1dd604e04f415c1f648e6fff1ff16c8032f809f41c2366965c95970 - 0.01% (5.29 KB)
[#009] sha256:5b8705354c8befdeae7f7fa9dfec536ea3a23239a69d38047daa57097f9200b0 - 0.0% (184 Bytes)
ADD alpine-minirootfs-3.20.3-aarch64.tar.gz / # buildkit
2024-09-06 12:05:36 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2024-09-26 18:19:57 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-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2024-09-26 18:19:57 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-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=17
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=17.0
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=7e276131c0fdd6b62588dbad9b3bb24b8c3498d5009328dba59af16e819109de
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm15-dev clang15
2024-09-26 18:19:57 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-09-26 18:19:57 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-09-26 18:19:57 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
sha256:8b83bed21abf8b4b6436d1b51900b92b8605d6ab5689fef3ceffc17fc2ee9a64
2024-09-26 18:19:57 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_SHA2567e276131c0fdd6b62588dbad9b3bb24b8c3498d5009328dba59af16e819109de
PG_VERSION17.0
[#000] sha256:22892cdc5e9ff297ac012c2fbe3c12724a3cf4d0a55f5f03f95a7f3ab3e77e36 - 3.4% (3.41 MB)
[#001] sha256:a19a7a1f04747157cc38c8ea66a5ff6b25a502c971bf6b56995e5fefa252c706 - 0.0% (986 Bytes)
[#002] sha256:ac1f73e281b372894f9fde9cf8b361dac11c7e4a99a9be8741f261633ef51c5c - 0.99% (1010 KB)
[#003] sha256:ec6cbf42a4a3e2d1ec5f48008a64d5fc2d2d8b1c03da33168579fc89011b796b - 0.0% (116 Bytes)
[#004] sha256:4d1bbff7a304075f8798e240227c4671e53324500c2106a031a282ac552540f3 - 95.59% (95.7 MB)
[#005] sha256:8a831047d5385dc9fcedcd343b30f34a8e3398a9896d198fba11fc3e5257cf33 - 0.01% (9.65 KB)
[#006] sha256:fe0631568b845d4d7494660a4d30da457d2ce040fd2c153ed4d8c0ddd9751917 - 0.0% (129 Bytes)
[#007] sha256:ed1ef2548a72b8474ddfed11ea907e694a8f360b4f607135412291314d9f7427 - 0.0% (170 Bytes)
[#008] sha256:93d21ad70b3b29dfca450f46285eaa94ea8683ce9ddb8b75d9372fd64a143c31 - 0.01% (5.29 KB)
[#009] sha256:e3d13187ccab140d8ac31d60d4f0d2666616025cd45b37968aa1c6b00e92f5ae - 0.0% (185 Bytes)
ADD alpine-minirootfs-3.20.3-ppc64le.tar.gz / # buildkit
2024-09-06 12:05:36 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2024-09-26 18:19:57 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-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2024-09-26 18:19:57 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-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=17
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=17.0
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=7e276131c0fdd6b62588dbad9b3bb24b8c3498d5009328dba59af16e819109de
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm15-dev clang15
2024-09-26 18:19:57 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-09-26 18:19:57 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-09-26 18:19:57 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
sha256:3369603003cab55b13504775103681cec261731987f62f113e6fc5da42f29704
2024-09-26 18:19:57 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_SHA2567e276131c0fdd6b62588dbad9b3bb24b8c3498d5009328dba59af16e819109de
PG_VERSION17.0
[#000] sha256:ea37667e50ca807fa8abc1caf0d21091cbbe1d66b2c217158fb3e91c2787afaf - 3.36% (3.22 MB)
[#001] sha256:7b8f6d509c68c45b1fdf0a1a4ab907f53741b31f985f51c20dc23cd8a8d6f8c6 - 0.0% (989 Bytes)
[#002] sha256:38504f2cb255ba8a48a6b356aaff81feb5626bcddc945bbd59e7de7b2cbad90a - 1.09% (1.04 MB)
[#003] sha256:3b54627f68a004d75c82ccc1d2af87e5d650bf20e09c023ec9633d8c576c9e16 - 0.0% (116 Bytes)
[#004] sha256:ab8e536573814c1dcfa0f0c2eaf24ae0d5e61b2ed386b704af815f992d7ff859 - 95.53% (91.3 MB)
[#005] sha256:93f3a940647e94c6b5cfa8e7fe8f7e196314f4b67907605e7b6b66753a14e476 - 0.01% (9.66 KB)
[#006] sha256:d4a8bc2edc236e3588ec78edea936871afe68a4a7b51fa16ed5327a507bbddfc - 0.0% (129 Bytes)
[#007] sha256:37009365008e21b0a7db07fb799a35758d8969317a57a6e32a266efcd7e7a869 - 0.0% (171 Bytes)
[#008] sha256:87cbbdba31d39752fe24808e132a79e307bd905d5205fdbf9e883e59d099b01f - 0.01% (5.29 KB)
[#009] sha256:bc41e2c5d1a1dda783578a3dc38e9c4a5ce35b4fb2dca90c4c26b7041d301d9f - 0.0% (187 Bytes)
ADD alpine-minirootfs-3.20.3-riscv64.tar.gz / # buildkit
2024-09-06 12:05:36 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2024-09-26 18:19:57 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-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2024-09-26 18:19:57 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-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=17
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=17.0
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=7e276131c0fdd6b62588dbad9b3bb24b8c3498d5009328dba59af16e819109de
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm15-dev clang15
2024-09-26 18:19:57 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-09-26 18:19:57 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-09-26 18:19:57 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)CMD ["postgres"]
sha256:85d0eaefb3a5b658fab8c5f6a5723323a388600e8d2b53ab8abd5dfc742819c1
2024-09-26 18:19:57 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_SHA2567e276131c0fdd6b62588dbad9b3bb24b8c3498d5009328dba59af16e819109de
PG_VERSION17.0
[#000] sha256:4261d20208fd5fe57c9f53c86783089a963169d6db6f16306e083ca43f937e0b - 3.17% (3.3 MB)
[#001] sha256:a7cfe172c7a286e8204df6e52175624b09a8eac0323a0ca93d64bb47b1e1d2ea - 0.0% (989 Bytes)
[#002] sha256:bfd3aae594b33f2c3d620dfd8f818b5fa3f522b0ebd8fa55dc50df0de8cb9062 - 0.99% (1.03 MB)
[#003] sha256:04b7d1018f08d97876f305901e5c8b1434accd8f60fdb183d34d8168ac91d908 - 0.0% (116 Bytes)
[#004] sha256:a21663347e17a1c62eabbdfbdddcc57a780e49a55ea6d1d7893eb6856ad7d92a - 95.82% (99.7 MB)
[#005] sha256:79b5c40acb6744de59022faa50d855ace453d66eb47643f9edddc6f6f18a8ced - 0.01% (9.66 KB)
[#006] sha256:c3926f934aa4b2f2a69f102be6c187f2d15b01ca00f99d0313cfe585933d5c8c - 0.0% (129 Bytes)
[#007] sha256:681d6a7c5ccd6db5159d756a9185636087cbc227c85972ff0f20b74cac0686ad - 0.0% (171 Bytes)
[#008] sha256:30deeea47a29e2efb63bec491bbb7de244a83d83c60c93f023ab88b6beffb15c - 0.0% (5.29 KB)
[#009] sha256:ed54f34ff2e6a66f45c6c81763a479bc88bbd0d553e508604ea5d9431a5f8857 - 0.0% (185 Bytes)
ADD alpine-minirootfs-3.20.3-s390x.tar.gz / # buildkit
2024-09-06 12:05:36 UTC (buildkit.dockerfile.v0)CMD ["/bin/sh"]
2024-09-26 18:19:57 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-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV GOSU_VERSION=1.17
2024-09-26 18:19:57 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-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.utf8
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV PG_MAJOR=17
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV PG_VERSION=17.0
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV PG_SHA256=7e276131c0fdd6b62588dbad9b3bb24b8c3498d5009328dba59af16e819109de
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV DOCKER_PG_LLVM_DEPS=llvm15-dev clang15
2024-09-26 18:19:57 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-09-26 18:19:57 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-09-26 18:19:57 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENV PGDATA=/var/lib/postgresql/data
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)VOLUME [/var/lib/postgresql/data]
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["docker-entrypoint.sh"]
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)STOPSIGNAL SIGINT
2024-09-26 18:19:57 UTC (buildkit.dockerfile.v0)EXPOSE map[5432/tcp:{}]
2024-09-26 18:19:57 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.