Namespace
library
Image / Tag
postgres:17beta3-alpine3.19
Content Digest
sha256:92512ef6bd4a51db3fcf86af6fb0f4edf002c5b4f1be7e57a50d65a782975e85
Details
Created

2024-08-08 17:34:59 UTC

Size

98.6 MB

Content Digest
Environment
DOCKER_PG_LLVM_DEPS

llvm15-dev clang15

GOSU_VERSION

1.17

LANG

en_US.utf8

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PGDATA

/var/lib/postgresql/data

PG_MAJOR

17

PG_SHA256

010dfaff9fcca6afa2fd576eea89cdabcefc262aa0ba89a6845eaab4d4b08f71

PG_VERSION

17beta3


Layers

[#000] sha256:158aa28c117a606c22b37b6edf36cfaa99cea0485a39ac8469a3074b48a67534 - 3.14% (3.1 MB)

[#001] sha256:e591b177f060ae803647ee73a54574160696f68349d52d1df811bd10eecedeeb - 0.0% (1.24 KB)

[#002] sha256:11b89d3a617936f69fa3f63dd8bf0bfd2ca370da5462345fd42392d1775f851b - 1.06% (1.04 MB)

[#003] sha256:4913cf754216264a13d1b223c1afc203a3639a88b951e364cbcb5034b487d42e - 0.0% (116 Bytes)

[#004] sha256:6dce5f483d61c01b7c58f87bfdc8b201e1dce150217c4879e232fbf0f4167cf5 - 95.78% (94.5 MB)

[#005] sha256:627df96be5b8b63cc0d79592c47c358ab6ccd834be0fcdacee8e635a7b45c0e7 - 0.01% (9.66 KB)

[#006] sha256:566e158f2ed79125950a7f35e16e9e3d79c2a030ebe7ef923e7f780dc7f5f465 - 0.0% (129 Bytes)

[#007] sha256:5022adb9dbdf139e3c3261d6ec71162d3eca15f135e24616b6f34e17caeb9b08 - 0.0% (170 Bytes)

[#008] sha256:e76f140be7d28f0cb2553e8e709184f4f86dada4f47088d2d12ac37838fd6e7a - 0.01% (5.29 KB)

[#009] sha256:aee7bd72b98153b49b9e503cbcbd3bc786109cf19827e25fe08b564e3adb3120 - 0.0% (185 Bytes)


History
2024-07-22 21:38:33 UTC

/bin/sh -c #(nop) ADD file:0ea09fe32763883fe12b23d858a03245191055e9ab130ba28dc77053fcea5d77 in /

2024-07-22 21:38:34 UTC

/bin/sh -c #(nop) CMD ["/bin/sh"]

2024-08-08 17:34:59 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-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2024-08-08 17:34:59 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-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENV LANG=en_US.utf8

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENV PG_MAJOR=17

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENV PG_VERSION=17beta3

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENV PG_SHA256=010dfaff9fcca6afa2fd576eea89cdabcefc262aa0ba89a6845eaab4d4b08f71

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENV DOCKER_PG_LLVM_DEPS=llvm15-dev clang15

2024-08-08 17:34:59 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-08-08 17:34:59 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-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENV PGDATA=/var/lib/postgresql/data

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

VOLUME [/var/lib/postgresql/data]

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGINT

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

EXPOSE map[5432/tcp:{}]

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

CMD ["postgres"]

Details
Created

2024-08-08 17:34:59 UTC

Size

93.6 MB

Content Digest
Environment
DOCKER_PG_LLVM_DEPS

llvm15-dev clang15

GOSU_VERSION

1.17

LANG

en_US.utf8

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PGDATA

/var/lib/postgresql/data

PG_MAJOR

17

PG_SHA256

010dfaff9fcca6afa2fd576eea89cdabcefc262aa0ba89a6845eaab4d4b08f71

PG_VERSION

17beta3


Layers

[#000] sha256:46b060cc26202cf98e28414d790b5cabd67094bba50315a1ae2e9daf913fca4f - 3.48% (3.26 MB)

[#001] sha256:681c61b5d2863183613ea79b3cf18d8f9436cc2492ca58e51ada49eba612bc7c - 0.0% (1.24 KB)

[#002] sha256:6b48b898c83dc0db7eeb9b95491e55fc587605c9d9613dbbcdc2b20b310f95f2 - 1.14% (1.07 MB)

[#003] sha256:12c6e876ad0d0fdb622577804f794f30086d4720cf765ba61fd4fcf2945be337 - 0.0% (116 Bytes)

[#004] sha256:b696253248290e1121e0225695d312990c239a21b4eed2c724c4d2e6d52792e5 - 95.36% (89.2 MB)

[#005] sha256:03bc4ffe67dd19858971c743a51fa8ad024e6345b46f5ee89dc8f556e398c929 - 0.01% (9.66 KB)

[#006] sha256:14b1daff9c689217f84c03b24945099c0c58c2dd874ec5869f58f9e243a44742 - 0.0% (128 Bytes)

[#007] sha256:03f81e6e8ed997aaf403607620ec6fabd256f2a1cd841fc66dd57aa3dbdb2fd8 - 0.0% (169 Bytes)

[#008] sha256:4869a84421a75c11538b08f9b5503866eb6a6ad2a3098dfbe7c44d0434303172 - 0.01% (5.29 KB)

[#009] sha256:bcbd8cfb453cf922a1786c3b772035a61b9d95e8951a9814b45296e2f3f2ab52 - 0.0% (183 Bytes)


History
2024-07-22 22:26:49 UTC

/bin/sh -c #(nop) ADD file:c644b15c170e2ca46176a566910d40a21dce66518ed8fdfd34ebcf0e9dc90c55 in /

2024-07-22 22:26:49 UTC

/bin/sh -c #(nop) CMD ["/bin/sh"]

2024-08-08 17:34:59 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-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2024-08-08 17:34:59 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-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENV LANG=en_US.utf8

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENV PG_MAJOR=17

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENV PG_VERSION=17beta3

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENV PG_SHA256=010dfaff9fcca6afa2fd576eea89cdabcefc262aa0ba89a6845eaab4d4b08f71

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENV DOCKER_PG_LLVM_DEPS=llvm15-dev clang15

2024-08-08 17:34:59 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-08-08 17:34:59 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-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENV PGDATA=/var/lib/postgresql/data

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

VOLUME [/var/lib/postgresql/data]

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGINT

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

EXPOSE map[5432/tcp:{}]

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

CMD ["postgres"]

Details
Created

2024-08-08 17:34:59 UTC

Size

92.3 MB

Content Digest
Environment
DOCKER_PG_LLVM_DEPS

llvm15-dev clang15

GOSU_VERSION

1.17

LANG

en_US.utf8

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PGDATA

/var/lib/postgresql/data

PG_MAJOR

17

PG_SHA256

010dfaff9fcca6afa2fd576eea89cdabcefc262aa0ba89a6845eaab4d4b08f71

PG_VERSION

17beta3


Layers

[#000] sha256:25b28a78657effc87fccb3820a41450134ddcdbea210294d5b989ee0f09c0563 - 3.28% (3.03 MB)

[#001] sha256:f92880c2baf59ed2b2161ddbd42912f3c667f88b880b2bf7c544e35241839cc4 - 0.0% (1.24 KB)

[#002] sha256:e61abd44f0f6a377f52eb7c5307b260122a9190bc60a8ebc1db65d929f490cb8 - 1.12% (1.04 MB)

[#003] sha256:21943bc7459562df4e4ae8e8ea69b3ff99c293c0116d815e0b7f530233d4ba1b - 0.0% (116 Bytes)

[#004] sha256:423f1975aeb907abfbef15618966f7a87658caba8114763d2bc6b841a12417b2 - 95.58% (88.2 MB)

[#005] sha256:d220b03958e0101f434c317ca3026884405ad10d1e226ee38e696ee744344a06 - 0.01% (9.66 KB)

[#006] sha256:4b7c550b6e95e79ab98ee4ade81eac634975d41bb5473f5dfbe6bae2b19c041b - 0.0% (128 Bytes)

[#007] sha256:3553a6642cb4c30887c531a8f7ddaf7129641f1da76ceeb3c3e0aee085711522 - 0.0% (169 Bytes)

[#008] sha256:e8f62c375d399cc8f48a8fd8f0039a2d2f96a12c75230df241d8b9a9c4bbe855 - 0.01% (5.29 KB)

[#009] sha256:b3c655a91763f139b98ab3a80f7f02d7ad694911beceb4af7443a67199327a2b - 0.0% (184 Bytes)


History
2024-07-22 21:49:22 UTC

/bin/sh -c #(nop) ADD file:f7bd0000dae58eecf5aaf17e8bc517f5e29ad6a7692506fbceef89d3b61327c5 in /

2024-07-22 21:49:22 UTC

/bin/sh -c #(nop) CMD ["/bin/sh"]

2024-08-08 17:34:59 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-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2024-08-08 17:34:59 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-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENV LANG=en_US.utf8

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENV PG_MAJOR=17

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENV PG_VERSION=17beta3

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENV PG_SHA256=010dfaff9fcca6afa2fd576eea89cdabcefc262aa0ba89a6845eaab4d4b08f71

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENV DOCKER_PG_LLVM_DEPS=llvm15-dev clang15

2024-08-08 17:34:59 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-08-08 17:34:59 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-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENV PGDATA=/var/lib/postgresql/data

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

VOLUME [/var/lib/postgresql/data]

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGINT

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

EXPOSE map[5432/tcp:{}]

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

CMD ["postgres"]

Details
Created

2024-08-08 17:34:59 UTC

Size

87 MB

Content Digest
Environment
DOCKER_PG_LLVM_DEPS

llvm15-dev clang15

GOSU_VERSION

1.17

LANG

en_US.utf8

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PGDATA

/var/lib/postgresql/data

PG_MAJOR

17

PG_SHA256

010dfaff9fcca6afa2fd576eea89cdabcefc262aa0ba89a6845eaab4d4b08f71

PG_VERSION

17beta3


Layers

[#000] sha256:8f161eaa88b843263b696c64fddf3418b0e44eaf5043acda85e43596a2978f9b - 3.21% (2.79 MB)

[#001] sha256:063d9d2991cbf5efa23a343aaafc56190a3c3718bbaef42229b875284c56d644 - 0.0% (1.24 KB)

[#002] sha256:40d0a2dd7241794c1e2100b1dbd8912d9474e69be44f859e7cbd5419bcc2c208 - 1.19% (1.04 MB)

[#003] sha256:be5d6a4ab4a71c46c2c2077620f39ae48bf06d249dfc6a31392a6506854446f3 - 0.0% (116 Bytes)

[#004] sha256:d58e64417819041656a5ffda08ba096c2a60a8ea8af0311a8b64075bd5e49298 - 95.58% (83.1 MB)

[#005] sha256:ec08657e8e6564c7ed8f841b7d3f0ef408b32c0312ecf3dc491fd241b2ef6aa7 - 0.01% (9.66 KB)

[#006] sha256:aa29adf3f46b552f88b8b9141ae5b665982cbe9265b9cc3eccd7ed1af4d2788a - 0.0% (128 Bytes)

[#007] sha256:c75db36e0098e217765bf197dee39f17a47212d96fd0be2e8597e5f76bb5dfc4 - 0.0% (171 Bytes)

[#008] sha256:f9654ea4898f7e6178d4f24037e2107c43e568bb2f8b1fe7d8045db28ec560a8 - 0.01% (5.29 KB)

[#009] sha256:56fc1a47f5135b6ff42d86cb5a257be26538890f5428125c31e2de119b709acc - 0.0% (186 Bytes)


History
2024-07-22 21:59:53 UTC

/bin/sh -c #(nop) ADD file:60c2aa05ac383c09d9e77c7234444745ba6b4007cbe51e0c51d3c21b159b2b3c in /

2024-07-22 21:59:53 UTC

/bin/sh -c #(nop) CMD ["/bin/sh"]

2024-08-08 17:34:59 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-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2024-08-08 17:34:59 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-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENV LANG=en_US.utf8

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENV PG_MAJOR=17

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENV PG_VERSION=17beta3

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENV PG_SHA256=010dfaff9fcca6afa2fd576eea89cdabcefc262aa0ba89a6845eaab4d4b08f71

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENV DOCKER_PG_LLVM_DEPS=llvm15-dev clang15

2024-08-08 17:34:59 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-08-08 17:34:59 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-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENV PGDATA=/var/lib/postgresql/data

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

VOLUME [/var/lib/postgresql/data]

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGINT

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

EXPOSE map[5432/tcp:{}]

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

CMD ["postgres"]

Details
Created

2024-08-08 17:34:59 UTC

Size

92.3 MB

Content Digest
Environment
DOCKER_PG_LLVM_DEPS

llvm15-dev clang15

GOSU_VERSION

1.17

LANG

en_US.utf8

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PGDATA

/var/lib/postgresql/data

PG_MAJOR

17

PG_SHA256

010dfaff9fcca6afa2fd576eea89cdabcefc262aa0ba89a6845eaab4d4b08f71

PG_VERSION

17beta3


Layers

[#000] sha256:119661e64d8d593a625274dd829d8550c61de6dd5631287dfea42e99c1c2c736 - 3.47% (3.2 MB)

[#001] sha256:6b3c3a45049e949f25991f4ed3e907fcbf34307ac290a2e4b00b184d7dc461b0 - 0.0% (1.24 KB)

[#002] sha256:3a48cf11d206c8fb70c1d16f7316613ce43ca94cd0a15ce1e7fc054358defd5c - 1.08% (1 MB)

[#003] sha256:93d17927de052083b725f2981a1e990b10f91caac63b82129e52a75e25b2d104 - 0.0% (116 Bytes)

[#004] sha256:0a8e3305399603100ef42303e7e07f33ae186596661c90608fbb6b164e99b3d6 - 95.43% (88.1 MB)

[#005] sha256:62c83e71d0e0aa7fcb1dab930fa8714ce0a6556591c7a75070d5255491847a73 - 0.01% (9.66 KB)

[#006] sha256:e5069d74605e9162d407a3444982a02e1aab747b88f5077745183b824e4914fb - 0.0% (129 Bytes)

[#007] sha256:56f510310dc9c88ebe14be67681a94b98c21f85090cb16d825647fdcbfc8c745 - 0.0% (171 Bytes)

[#008] sha256:854e46bd7a900e8a3944c67fb6ef69704c94f4709a3270fb9df19d055d0bf3ce - 0.01% (5.29 KB)

[#009] sha256:504edf47fa3c9b615722abaeb75442a8b5adfddba771508a87244d97aaa3c32b - 0.0% (184 Bytes)


History
2024-07-22 21:44:18 UTC

/bin/sh -c #(nop) ADD file:7990c7edbcf2739c4b2df767635f403325689f42de6e05e9d81a79fc719930c5 in /

2024-07-22 21:44:18 UTC

/bin/sh -c #(nop) CMD ["/bin/sh"]

2024-08-08 17:34:59 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-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2024-08-08 17:34:59 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-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENV LANG=en_US.utf8

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENV PG_MAJOR=17

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENV PG_VERSION=17beta3

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENV PG_SHA256=010dfaff9fcca6afa2fd576eea89cdabcefc262aa0ba89a6845eaab4d4b08f71

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENV DOCKER_PG_LLVM_DEPS=llvm15-dev clang15

2024-08-08 17:34:59 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-08-08 17:34:59 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-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENV PGDATA=/var/lib/postgresql/data

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

VOLUME [/var/lib/postgresql/data]

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGINT

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

EXPOSE map[5432/tcp:{}]

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

CMD ["postgres"]

Details
Created

2024-08-08 17:34:59 UTC

Size

98 MB

Content Digest
Environment
DOCKER_PG_LLVM_DEPS

llvm15-dev clang15

GOSU_VERSION

1.17

LANG

en_US.utf8

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PGDATA

/var/lib/postgresql/data

PG_MAJOR

17

PG_SHA256

010dfaff9fcca6afa2fd576eea89cdabcefc262aa0ba89a6845eaab4d4b08f71

PG_VERSION

17beta3


Layers

[#000] sha256:6822b2fabea056adaf2dbe133c4384939c5aa1e2a522e965ebda31e26deca1e5 - 3.27% (3.21 MB)

[#001] sha256:c43c54eaa4f98734ca302a76f3612cc2053a98ce8eae19a9c437a93d2ac61ebe - 0.0% (1.24 KB)

[#002] sha256:d174deb4fd213ac5cb7a3716aead941aee3fe54810cb126b17054b131ff624d3 - 1.01% (1020 KB)

[#003] sha256:232bcb3ecef87df41fd98f08f6ca7660519ebca73600e33cfe69bcdbae6543c9 - 0.0% (116 Bytes)

[#004] sha256:326f763dfb4b9a84d92f96a86b85b5d4d83193546c1951da18a22593775cfcb9 - 95.7% (93.8 MB)

[#005] sha256:00b07123caf25a1449d7c456e70f2d644258c523d3e1480f6ce311497fe209c4 - 0.01% (9.67 KB)

[#006] sha256:a4527dd27156544ddf759ea7457a9f65fb01b0fbdd184416d3ce48a4e570c615 - 0.0% (128 Bytes)

[#007] sha256:48b614fde424be6cdc70ecf19988d8f575ef583bebe444de3d09c169955efdc8 - 0.0% (171 Bytes)

[#008] sha256:59298ffbaf8b0cc195c972d97969fbcf28daa75971fe259ce49ce6661a63771f - 0.01% (5.29 KB)

[#009] sha256:e470f8e7d49fb8e66ec9e191b451e2a31b2ed3c5d8aac30a8dc24d6cf6880ac9 - 0.0% (185 Bytes)


History
2024-07-22 21:26:28 UTC

/bin/sh -c #(nop) ADD file:0a05f9aa9e288df7339330e9c8c7654e92a33000bb227984a095f716196f51cc in /

2024-07-22 21:26:28 UTC

/bin/sh -c #(nop) CMD ["/bin/sh"]

2024-08-08 17:34:59 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-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2024-08-08 17:34:59 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-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENV LANG=en_US.utf8

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENV PG_MAJOR=17

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENV PG_VERSION=17beta3

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENV PG_SHA256=010dfaff9fcca6afa2fd576eea89cdabcefc262aa0ba89a6845eaab4d4b08f71

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENV DOCKER_PG_LLVM_DEPS=llvm15-dev clang15

2024-08-08 17:34:59 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-08-08 17:34:59 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-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENV PGDATA=/var/lib/postgresql/data

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

VOLUME [/var/lib/postgresql/data]

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGINT

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

EXPOSE map[5432/tcp:{}]

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

CMD ["postgres"]

Details
Created

2024-08-08 17:34:59 UTC

Size

102 MB

Content Digest
Environment
DOCKER_PG_LLVM_DEPS

llvm15-dev clang15

GOSU_VERSION

1.17

LANG

en_US.utf8

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PGDATA

/var/lib/postgresql/data

PG_MAJOR

17

PG_SHA256

010dfaff9fcca6afa2fd576eea89cdabcefc262aa0ba89a6845eaab4d4b08f71

PG_VERSION

17beta3


Layers

[#000] sha256:1f544ad804b60fa6fc54acddfe2c176a2b22e7079fedbf238b2c2bb51b8d0dfa - 3.04% (3.1 MB)

[#001] sha256:da5319fb43b1caf84617607cfcceb185eeec884fc0061f7cf5b8b64cca1bbe09 - 0.0% (1.24 KB)

[#002] sha256:6816ffa2083c875ab2e27a897be7542a64257e7b9ae0768523a494e65f9fbe9f - 1.01% (1.03 MB)

[#003] sha256:469900e039d80b3931de9cfcb397d0a147629318ce336225f405502dec8389c5 - 0.0% (116 Bytes)

[#004] sha256:f03b41b2aeae27062731469baee949b88d427f27f68697d87da64b10a329ca2f - 95.93% (97.9 MB)

[#005] sha256:31398f125ce41b0b3763f7700a992706352815c6d916c91af22b5fb63a34a807 - 0.01% (9.66 KB)

[#006] sha256:480cf3cbe866b2b77b3486e642f5192a207057704fe66bf4f839f3b5e5b16d30 - 0.0% (129 Bytes)

[#007] sha256:6ccea950455d18e6c21b1b07db9f7311c23be7b8268f2099e8eda88274d0d305 - 0.0% (168 Bytes)

[#008] sha256:b04511ef12f3f8f23e1e4416cceac451558f46e7f0ad84e94ff9a9e4196d85a6 - 0.01% (5.29 KB)

[#009] sha256:bbc729d25699dfe4c6089509a46e6ebf82c1fb852552ac6d5ec4f9904981f9e6 - 0.0% (184 Bytes)


History
2024-07-22 21:50:18 UTC

/bin/sh -c #(nop) ADD file:b52033eb72014ee086783e139c55b353697322576013415769016a48fd4f4342 in /

2024-07-22 21:50:19 UTC

/bin/sh -c #(nop) CMD ["/bin/sh"]

2024-08-08 17:34:59 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-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENV GOSU_VERSION=1.17

2024-08-08 17:34:59 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-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENV LANG=en_US.utf8

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENV PG_MAJOR=17

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENV PG_VERSION=17beta3

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENV PG_SHA256=010dfaff9fcca6afa2fd576eea89cdabcefc262aa0ba89a6845eaab4d4b08f71

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENV DOCKER_PG_LLVM_DEPS=llvm15-dev clang15

2024-08-08 17:34:59 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-08-08 17:34:59 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-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENV PGDATA=/var/lib/postgresql/data

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 1777 "$PGDATA" # buildkit

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

VOLUME [/var/lib/postgresql/data]

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGINT

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

EXPOSE map[5432/tcp:{}]

2024-08-08 17:34:59 UTC (buildkit.dockerfile.v0)

CMD ["postgres"]

Danger Zone
Delete Tag

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.

Delete