{"architecture":"amd64","config":{"Hostname":"","Domainname":"","User":"","AttachStdin":false,"AttachStdout":false,"AttachStderr":false,"ExposedPorts":{"5432/tcp":{}},"Tty":false,"OpenStdin":false,"StdinOnce":false,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","LANG=en_US.utf8","PG_MAJOR=12","PG_VERSION=12.3","PG_SHA256=94ed64a6179048190695c86ec707cc25d016056ce10fc9d229267d9a8f1dcf41","PGDATA=/var/lib/postgresql/data"],"Cmd":["postgres"],"ArgsEscaped":true,"Image":"sha256:0739a47c08fc91c770e421cbf9cd29168ab501023dd34da3f8039298516c4a5d","Volumes":{"/var/lib/postgresql/data":{}},"WorkingDir":"","Entrypoint":["docker-entrypoint.sh"],"OnBuild":null,"Labels":null},"container":"8890ff0504ade998b49f9c84751d45d5e9141e0746af7ce4e0381fa3e227b9c2","container_config":{"Hostname":"8890ff0504ad","Domainname":"","User":"","AttachStdin":false,"AttachStdout":false,"AttachStderr":false,"ExposedPorts":{"5432/tcp":{}},"Tty":false,"OpenStdin":false,"StdinOnce":false,"Env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","LANG=en_US.utf8","PG_MAJOR=12","PG_VERSION=12.3","PG_SHA256=94ed64a6179048190695c86ec707cc25d016056ce10fc9d229267d9a8f1dcf41","PGDATA=/var/lib/postgresql/data"],"Cmd":["/bin/sh","-c","#(nop) ","CMD [\"postgres\"]"],"ArgsEscaped":true,"Image":"sha256:0739a47c08fc91c770e421cbf9cd29168ab501023dd34da3f8039298516c4a5d","Volumes":{"/var/lib/postgresql/data":{}},"WorkingDir":"","Entrypoint":["docker-entrypoint.sh"],"OnBuild":null,"Labels":{}},"created":"2020-06-26T20:50:34.888787711Z","docker_version":"18.09.7","history":[{"created":"2020-05-29T21:19:46.192045972Z","created_by":"/bin/sh -c #(nop) ADD file:c92c248239f8c7b9b3c067650954815f391b7bcb09023f984972c082ace2a8d0 in / "},{"created":"2020-05-29T21:19:46.363518345Z","created_by":"/bin/sh -c #(nop)  CMD [\"/bin/sh\"]","empty_layer":true},{"created":"2020-06-11T22:46:48.146804567Z","created_by":"/bin/sh -c set -eux; \taddgroup -g 70 -S postgres; \tadduser -u 70 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; \tmkdir -p /var/lib/postgresql; \tchown -R postgres:postgres /var/lib/postgresql"},{"created":"2020-06-11T22:46:48.347099446Z","created_by":"/bin/sh -c #(nop)  ENV LANG=en_US.utf8","empty_layer":true},{"created":"2020-06-11T22:46:49.230505496Z","created_by":"/bin/sh -c mkdir /docker-entrypoint-initdb.d"},{"created":"2020-06-11T22:56:01.376104877Z","created_by":"/bin/sh -c #(nop)  ENV PG_MAJOR=12","empty_layer":true},{"created":"2020-06-11T22:56:01.769404999Z","created_by":"/bin/sh -c #(nop)  ENV PG_VERSION=12.3","empty_layer":true},{"created":"2020-06-11T22:56:02.106836663Z","created_by":"/bin/sh -c #(nop)  ENV PG_SHA256=94ed64a6179048190695c86ec707cc25d016056ce10fc9d229267d9a8f1dcf41","empty_layer":true},{"created":"2020-06-26T20:50:27.987622917Z","created_by":"/bin/sh -c set -ex \t\t\u0026\u0026 wget -O postgresql.tar.bz2 \"https://ftp.postgresql.org/pub/source/v$PG_VERSION/postgresql-$PG_VERSION.tar.bz2\" \t\u0026\u0026 echo \"$PG_SHA256 *postgresql.tar.bz2\" | sha256sum -c - \t\u0026\u0026 mkdir -p /usr/src/postgresql \t\u0026\u0026 tar \t\t--extract \t\t--file postgresql.tar.bz2 \t\t--directory /usr/src/postgresql \t\t--strip-components 1 \t\u0026\u0026 rm postgresql.tar.bz2 \t\t\u0026\u0026 apk add --no-cache --virtual .build-deps \t\tbison \t\tcoreutils \t\tdpkg-dev dpkg \t\tflex \t\tgcc \t\tlibc-dev \t\tlibedit-dev \t\tlibxml2-dev \t\tlibxslt-dev \t\tlinux-headers \t\tllvm10-dev clang g++ \t\tmake \t\topenssl-dev \t\tperl-utils \t\tperl-ipc-run \t\tutil-linux-dev \t\tzlib-dev \t\ticu-dev \t\t\u0026\u0026 cd /usr/src/postgresql \t\u0026\u0026 awk '$1 == \"#define\" \u0026\u0026 $2 == \"DEFAULT_PGSOCKET_DIR\" \u0026\u0026 $3 == \"\\\"/tmp\\\"\" { $3 = \"\\\"/var/run/postgresql\\\"\"; print; next } { print }' src/include/pg_config_manual.h \u003e src/include/pg_config_manual.h.new \t\u0026\u0026 grep '/var/run/postgresql' src/include/pg_config_manual.h.new \t\u0026\u0026 mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h \t\u0026\u0026 gnuArch=\"$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)\" \t\u0026\u0026 wget -O config/config.guess 'https://git.savannah.gnu.org/cgit/config.git/plain/config.guess?id=7d3d27baf8107b630586c962c057e22149653deb' \t\u0026\u0026 wget -O config/config.sub 'https://git.savannah.gnu.org/cgit/config.git/plain/config.sub?id=7d3d27baf8107b630586c962c057e22149653deb' \t\u0026\u0026 ./configure \t\t--build=\"$gnuArch\" \t\t--enable-integer-datetimes \t\t--enable-thread-safety \t\t--enable-tap-tests \t\t--disable-rpath \t\t--with-uuid=e2fs \t\t--with-gnu-ld \t\t--with-pgport=5432 \t\t--with-system-tzdata=/usr/share/zoneinfo \t\t--prefix=/usr/local \t\t--with-includes=/usr/local/include \t\t--with-libraries=/usr/local/lib \t\t\t\t--with-openssl \t\t--with-libxml \t\t--with-libxslt \t\t--with-icu \t\t--with-llvm \t\u0026\u0026 make -j \"$(nproc)\" world \t\u0026\u0026 make install-world \t\u0026\u0026 make -C contrib install \t\t\u0026\u0026 runDeps=\"$( \t\tscanelf --needed --nobanner --format '%n#p' --recursive /usr/local \t\t\t| tr ',' '\\n' \t\t\t| sort -u \t\t\t| awk 'system(\"[ -e /usr/local/lib/\" $1 \" ]\") == 0 { next } { print \"so:\" $1 }' \t)\" \t\u0026\u0026 apk add --no-cache --virtual .postgresql-rundeps \t\t$runDeps \t\tbash \t\tsu-exec \t\ttzdata \t\u0026\u0026 apk del --no-network .build-deps \t\u0026\u0026 cd / \t\u0026\u0026 rm -rf \t\t/usr/src/postgresql \t\t/usr/local/share/doc \t\t/usr/local/share/man \t\u0026\u0026 find /usr/local -name '*.a' -delete"},{"created":"2020-06-26T20:50:29.599609061Z","created_by":"/bin/sh -c sed -ri \"s!^#?(listen_addresses)\\s*=\\s*\\S+.*!\\1 = '*'!\" /usr/local/share/postgresql/postgresql.conf.sample"},{"created":"2020-06-26T20:50:31.162803572Z","created_by":"/bin/sh -c mkdir -p /var/run/postgresql \u0026\u0026 chown -R postgres:postgres /var/run/postgresql \u0026\u0026 chmod 2777 /var/run/postgresql"},{"created":"2020-06-26T20:50:31.483017828Z","created_by":"/bin/sh -c #(nop)  ENV PGDATA=/var/lib/postgresql/data","empty_layer":true},{"created":"2020-06-26T20:50:33.066486508Z","created_by":"/bin/sh -c mkdir -p \"$PGDATA\" \u0026\u0026 chown -R postgres:postgres \"$PGDATA\" \u0026\u0026 chmod 777 \"$PGDATA\""},{"created":"2020-06-26T20:50:33.402970874Z","created_by":"/bin/sh -c #(nop)  VOLUME [/var/lib/postgresql/data]","empty_layer":true},{"created":"2020-06-26T20:50:33.890029291Z","created_by":"/bin/sh -c #(nop) COPY file:33e6fc6ab9ea2b87183e496ad72f1df7f682913ffd781b1451fd178b0c7d745a in /usr/local/bin/ "},{"created":"2020-06-26T20:50:34.229354278Z","created_by":"/bin/sh -c #(nop)  ENTRYPOINT [\"docker-entrypoint.sh\"]","empty_layer":true},{"created":"2020-06-26T20:50:34.569622398Z","created_by":"/bin/sh -c #(nop)  EXPOSE 5432","empty_layer":true},{"created":"2020-06-26T20:50:34.888787711Z","created_by":"/bin/sh -c #(nop)  CMD [\"postgres\"]","empty_layer":true}],"os":"linux","rootfs":{"type":"layers","diff_ids":["sha256:50644c29ef5a27c9a40c393a73ece2479de78325cae7d762ef3cdc19bf42dd0a","sha256:62c05715278965a1dac27dd8dd226ba4641bb0bad580267ce7a1a271500a71a4","sha256:731b196c42dfde255044afae47b1406201d9e45d91999d25b88e1dd8cd48db9f","sha256:1bc6d03de502ba80e4b15dc6b407328935e531271afae2c5def3731bf0782a62","sha256:9673ac68331f66fdd37bfb227792aa0c8dc3219d53a30e61a3c9e3083f4f1eae","sha256:082f90772f707e09ffda07e0d5ca03385f1158ddac16111e4a012768e40a2a16","sha256:66610798906f6998927feaa7a35f86c3a1416f4129184c1131b3e6f354785e87","sha256:d83915a9059be2bb57c0d05fc7e68c8e89e15aebfb27d5658e096344671065f0"]}}