{"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=10","PG_VERSION=10.13","PG_SHA256=4d701f450cd92ffb123cf6c296e9656abbc2ab7ea6507894ff1e2475ae0754e1","PGDATA=/var/lib/postgresql/data"],"Cmd":["postgres"],"ArgsEscaped":true,"Image":"sha256:f708aeb935bb4121fbf267a0b7a140df0727daaed47fe78e63a03411d254da37","Volumes":{"/var/lib/postgresql/data":{}},"WorkingDir":"","Entrypoint":["docker-entrypoint.sh"],"OnBuild":null,"Labels":null},"container":"1c2712a87e026bcde2c093daa6e2cde7eec78f3b70835778ce272fedf8281486","container_config":{"Hostname":"1c2712a87e02","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=10","PG_VERSION=10.13","PG_SHA256=4d701f450cd92ffb123cf6c296e9656abbc2ab7ea6507894ff1e2475ae0754e1","PGDATA=/var/lib/postgresql/data"],"Cmd":["/bin/sh","-c","#(nop) ","CMD [\"postgres\"]"],"ArgsEscaped":true,"Image":"sha256:f708aeb935bb4121fbf267a0b7a140df0727daaed47fe78e63a03411d254da37","Volumes":{"/var/lib/postgresql/data":{}},"WorkingDir":"","Entrypoint":["docker-entrypoint.sh"],"OnBuild":null,"Labels":{}},"created":"2020-05-16T03:05:55.031228368Z","docker_version":"18.09.7","history":[{"created":"2020-04-24T01:05:03.608058404Z","created_by":"/bin/sh -c #(nop) ADD file:b91adb67b670d3a6ff9463e48b7def903ed516be66fc4282d22c53e41512be49 in / "},{"created":"2020-04-24T01:05:03.92860976Z","created_by":"/bin/sh -c #(nop)  CMD [\"/bin/sh\"]","empty_layer":true},{"created":"2020-04-24T17:11:48.094967708Z","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-04-24T17:11:48.290526329Z","created_by":"/bin/sh -c #(nop)  ENV LANG=en_US.utf8","empty_layer":true},{"created":"2020-04-24T17:11:49.020524934Z","created_by":"/bin/sh -c mkdir /docker-entrypoint-initdb.d"},{"created":"2020-04-24T17:23:02.572743691Z","created_by":"/bin/sh -c #(nop)  ENV PG_MAJOR=10","empty_layer":true},{"created":"2020-05-16T03:02:01.808653196Z","created_by":"/bin/sh -c #(nop)  ENV PG_VERSION=10.13","empty_layer":true},{"created":"2020-05-16T03:02:02.115571395Z","created_by":"/bin/sh -c #(nop)  ENV PG_SHA256=4d701f450cd92ffb123cf6c296e9656abbc2ab7ea6507894ff1e2475ae0754e1","empty_layer":true},{"created":"2020-05-16T03:05:50.61705252Z","created_by":"/bin/sh -c set -ex \t\t\u0026\u0026 apk add --no-cache --virtual .fetch-deps \t\tca-certificates \t\topenssl \t\ttar \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\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\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 .fetch-deps .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-05-16T03:05:51.464254749Z","created_by":"/bin/sh -c sed -ri \"s!^#?(listen_addresses)\\s*=\\s*\\S+.*!\\1 = '*'!\" /usr/local/share/postgresql/postgresql.conf.sample"},{"created":"2020-05-16T03:05:52.287023442Z","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-05-16T03:05:52.462995619Z","created_by":"/bin/sh -c #(nop)  ENV PGDATA=/var/lib/postgresql/data","empty_layer":true},{"created":"2020-05-16T03:05:53.255633623Z","created_by":"/bin/sh -c mkdir -p \"$PGDATA\" \u0026\u0026 chown -R postgres:postgres \"$PGDATA\" \u0026\u0026 chmod 777 \"$PGDATA\""},{"created":"2020-05-16T03:05:53.431405398Z","created_by":"/bin/sh -c #(nop)  VOLUME [/var/lib/postgresql/data]","empty_layer":true},{"created":"2020-05-16T03:05:53.667463688Z","created_by":"/bin/sh -c #(nop) COPY file:33e6fc6ab9ea2b87183e496ad72f1df7f682913ffd781b1451fd178b0c7d745a in /usr/local/bin/ "},{"created":"2020-05-16T03:05:54.458720533Z","created_by":"/bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh / # backwards compat"},{"created":"2020-05-16T03:05:54.671375324Z","created_by":"/bin/sh -c #(nop)  ENTRYPOINT [\"docker-entrypoint.sh\"]","empty_layer":true},{"created":"2020-05-16T03:05:54.850981901Z","created_by":"/bin/sh -c #(nop)  EXPOSE 5432","empty_layer":true},{"created":"2020-05-16T03:05:55.031228368Z","created_by":"/bin/sh -c #(nop)  CMD [\"postgres\"]","empty_layer":true}],"os":"linux","rootfs":{"type":"layers","diff_ids":["sha256:3e207b409db364b595ba862cdc12be96dcdad8e36c59a03b7b3b61c946a5741a","sha256:d5dd3a8f76c0d82f2e6a56473caba04f84364b7d37ccc943103458faa9ef43a6","sha256:d31b0481f92391fbba060b2bc0d08bd4706e0829366aec9821542ff399c1001e","sha256:9cdf44b393df0b6b2f52b5e0b2c7b34aec81d8256a0050cd13c98de668c6b8f1","sha256:e1f32ec792798a997dd1eb63eeee08a0f98bd9a4f4856d429f96cac82db7471e","sha256:272046e057fe90b7949f3eecf1ad39e634701a751c9532c2d9f6d7a75dee768b","sha256:ccc70db0ca033b8282d8b798358b294dd105f9fb09fa488abf5396f0e6291f6f","sha256:6fb7d8731605320e83bbef37106ea47e2a8e08ab77ac7e0d2943baaf9a99d606","sha256:59c8ff8752ad735e7b72cd81d8e8009fc116cba4fe0bfdc9d79b58a40cfa2e66"]}}