Tag
papyrus-rework-postgres:1.0.3-dev_35
Created
2026-05-15 12:42:26 UTC
Architecture
linux / amd64
Content Digest
Pull Command
ENV
  • PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  • GOSU_VERSION=1.19
  • LANG=en_US.utf8
  • PG_MAJOR=18
  • PG_VERSION=18.4
  • PG_SHA256=81a81ec695fb0c7901407defaa1d2f7973617154cf27ba74e3a7ab8e64436094
  • DOCKER_PG_LLVM_DEPS=llvm19-dev clang19
  • PGDATA=/var/lib/postgresql/18/docker
Layers
  • 001 sha256:6a0ac1617861a677b045b7ff88545213ec31c0ff08763195a70a4a5adda577bb 3.69 MB
  • 002 sha256:6797fe14fc379b8d4419f4610d9aaf73bd7ff43d089470e71f7e9342234f8945 971 Bytes
  • 003 sha256:cb0e827e838987c21b8b34287641c24d4a073f6bc81682d558e0ae4cbc588520 898 KB
  • 004 sha256:3771f4eeb917862962c208c27d7ba2aef9960db42950fc3f542b4c68bdf998d1 116 Bytes
  • 005 sha256:4e227c0c29b0342a47cce0cbeea6bc0d910c09145ab314b129f4c124530af247 104 MB
  • 006 sha256:cb2ae37abf29132e0e3f274813ba47188c06c17578b2169a961d1cd933481a7c 18.5 KB
  • 007 sha256:033acd588901f9f4f19b4a746b3344bf0a9c6ab9db0f99efb7eade678f55ad03 129 Bytes
  • 008 sha256:56e975b78d088b103fb4744d223e4455387520c487479196b44b8e09f5487bde 5.95 KB
  • 009 sha256:05f6e8830d21674c84b07722ab639afb87dd6670ab1a270ed765ba70eb878e4e 183 Bytes
  • 010 sha256:429e1ccde8dcf5f9c1280988040f2967cf381d955bdc2fe4fb24f93e7921886d 180 KB
  • 011 sha256:d8e1062ee557746bab85a0a3ac8ed4654c58b7f984c5c109dfc7a6b6f36464ef 721 Bytes
  • 012 sha256:3e905e445b81e1a3ec66fe0fa4005d74a4b35fcbe36d94bb35d28a32279f71ec 9.79 KB
  • 013 sha256:30c600c559720d0a92ec110a32b3882e26a9de0bcdd053569f8221479b8b42bd 810 Bytes
History
[2026-04-15 20:01:40 UTC] ADD alpine-minirootfs-3.23.4-x86_64.tar.gz / # buildkit [2026-04-15 20:01:40 UTC] CMD ["/bin/sh"] [2026-05-14 18:58:31 UTC] 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 [2026-05-14 18:58:33 UTC] ENV GOSU_VERSION=1.19 [2026-05-14 18:58:33 UTC] 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 [2026-05-14 18:58:33 UTC] ENV LANG=en_US.utf8 [2026-05-14 18:58:34 UTC] RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit [2026-05-14 18:58:34 UTC] ENV PG_MAJOR=18 [2026-05-14 18:58:34 UTC] ENV PG_VERSION=18.4 [2026-05-14 18:58:34 UTC] ENV PG_SHA256=81a81ec695fb0c7901407defaa1d2f7973617154cf27ba74e3a7ab8e64436094 [2026-05-14 18:58:34 UTC] ENV DOCKER_PG_LLVM_DEPS=llvm19-dev clang19 [2026-05-14 19:00:46 UTC] 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 curl-dev liburing-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)"; export LLVM_CONFIG="/usr/lib/llvm19/bin/llvm-config"; export CLANG=clang-19; ./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-icu --with-ldap --with-libcurl --with-liburing --with-libxml --with-libxslt --with-llvm --with-lz4 --with-openssl --with-perl --with-python --with-tcl --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 [2026-05-14 19:00:46 UTC] 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 [2026-05-14 19:00:46 UTC] RUN /bin/sh -c install --verbose --directory --owner postgres --group postgres --mode 3777 /var/run/postgresql # buildkit [2026-05-14 19:00:46 UTC] ENV PGDATA=/var/lib/postgresql/18/docker [2026-05-14 19:00:46 UTC] VOLUME [/var/lib/postgresql] [2026-05-14 19:00:46 UTC] COPY docker-entrypoint.sh docker-ensure-initdb.sh /usr/local/bin/ # buildkit [2026-05-14 19:00:46 UTC] RUN /bin/sh -c ln -sT docker-ensure-initdb.sh /usr/local/bin/docker-enforce-initdb.sh # buildkit [2026-05-14 19:00:46 UTC] ENTRYPOINT ["docker-entrypoint.sh"] [2026-05-14 19:00:46 UTC] STOPSIGNAL SIGINT [2026-05-14 19:00:46 UTC] EXPOSE map[5432/tcp:{}] [2026-05-14 19:00:46 UTC] CMD ["postgres"] [2026-05-15 12:42:26 UTC] COPY /usr/local/share/postgresql/extension/pgtap* /usr/local/share/postgresql/extension/ # buildkit [2026-05-15 12:42:26 UTC] COPY postgresql.custom.conf /etc/postgresql/postgresql.custom.conf # buildkit [2026-05-15 12:42:26 UTC] RUN /bin/sh -c echo "include '/etc/postgresql/postgresql.custom.conf'" >> /usr/local/share/postgresql/postgresql.conf.sample # buildkit [2026-05-15 12:42:26 UTC] COPY init.sql /docker-entrypoint-initdb.d/01-init.sql # buildkit