Namespace
library
Image / Tag
postgres:9.2-alpine
Content Digest
sha256:c9b83c4280e817b5470f673584e619a973f6583126dcff2c7360a07a7e2e659c
Details
Created

2017-09-26 01:29:02 UTC

Size

13.1 MB

Content Digest
Environment
LANG

en_US.utf8

OSSP_UUID_SHA256

11a615225baa5f8bb686824423f50e4427acd3f70d394765bdff32801f0fd5b0

OSSP_UUID_VERSION

1.6.2

PATH

/usr/lib/postgresql/9.2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PGDATA

/var/lib/postgresql/data

PG_MAJOR

9.2

PG_SHA256

0e6ecdfeed69030dac8d219ecd4c350ce45e9f2caa9d73e166e407e87afec450

PG_VERSION

9.2.23


Layers

[#000] sha256:019300c8a437a2d60248f27c206795930626dfe7ddc0323d734143bd5eb131a6 - 14.29% (1.88 MB)

[#001] sha256:885fa9f8b9508bd7d908d4d4657fa4b44e7ddf5863330d25b1d13a01346573e1 - 0.0% (148 Bytes)

[#002] sha256:df6a6308043b18961859d66a2818fc70de3be35e6dc6cf1a3cfa0dffb2b1c8ea - 0.0% (115 Bytes)

[#003] sha256:73288f0908b225fff83e8d72d63048e9a47930fb10e6636ee6f9416cf101eb43 - 85.64% (11.3 MB)

[#004] sha256:b12eb9ce513ae34246df007556c2392ee79af9a45a123003c9cd9ca62ad341a7 - 0.05% (6.26 KB)

[#005] sha256:2cdf64c8175580eb88e295e20e32688f4bb4429970175c9f8f7bc7b9274f330e - 0.0% (153 Bytes)

[#006] sha256:dd0360962ceda4cdc80bc759be85e61a5cb6ca2d6044e5ad40c1799c2a51c7ec - 0.0% (171 Bytes)

[#007] sha256:63010ff19f2cf08a559790f3fc9ec7c15a5489157219d81d23f4e3fbfa8dddfc - 0.01% (1.76 KB)

[#008] sha256:3dbe005d0599dd432a40990d8fbe465934c4f9730f735c7b11f46486d7bea75e - 0.0% (121 Bytes)


History
2017-09-13 14:32:20 UTC

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

2017-09-13 14:32:20 UTC

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

2017-09-19 07:03:22 UTC

/bin/sh -c set -ex; postgresHome="$(getent passwd postgres)"; postgresHome="$(echo "$postgresHome" | cut -d: -f6)"; [ "$postgresHome" = '/var/lib/postgresql' ]; mkdir -p "$postgresHome"; chown -R postgres:postgres "$postgresHome"

2017-09-19 07:03:22 UTC

/bin/sh -c #(nop) ENV LANG=en_US.utf8

2017-09-19 07:03:22 UTC

/bin/sh -c mkdir /docker-entrypoint-initdb.d

2017-09-19 07:17:28 UTC

/bin/sh -c #(nop) ENV PG_MAJOR=9.2

2017-09-19 07:17:29 UTC

/bin/sh -c #(nop) ENV PG_VERSION=9.2.23

2017-09-19 07:17:29 UTC

/bin/sh -c #(nop) ENV PG_SHA256=0e6ecdfeed69030dac8d219ecd4c350ce45e9f2caa9d73e166e407e87afec450

2017-09-19 07:17:29 UTC

/bin/sh -c #(nop) ENV OSSP_UUID_VERSION=1.6.2

2017-09-19 07:17:29 UTC

/bin/sh -c #(nop) ENV OSSP_UUID_SHA256=11a615225baa5f8bb686824423f50e4427acd3f70d394765bdff32801f0fd5b0

2017-09-26 01:28:58 UTC

/bin/sh -c set -ex && apk add --no-cache --virtual .fetch-deps ca-certificates openssl tar && 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 bison coreutils dpkg-dev dpkg flex gcc libc-dev libedit-dev libxml2-dev libxslt-dev make openssl-dev perl perl-ipc-run util-linux-dev zlib-dev && wget -O uuid.tar.gz "https://www.mirrorservice.org/sites/ftp.ossp.org/pkg/lib/uuid/uuid-$OSSP_UUID_VERSION.tar.gz" && echo "$OSSP_UUID_SHA256 *uuid.tar.gz" | sha256sum -c - && mkdir -p /usr/src/ossp-uuid && tar --extract --file uuid.tar.gz --directory /usr/src/ossp-uuid --strip-components 1 && rm uuid.tar.gz && ( cd /usr/src/ossp-uuid && gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" && wget -O config.guess 'https://git.savannah.gnu.org/cgit/config.git/plain/config.guess?id=7d3d27baf8107b630586c962c057e22149653deb' && wget -O config.sub 'https://git.savannah.gnu.org/cgit/config.git/plain/config.sub?id=7d3d27baf8107b630586c962c057e22149653deb' && ./configure --build="$gnuArch" --prefix=/usr/local && make -j "$(nproc)" && make install ) && rm -rf /usr/src/ossp-uuid && 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' && ./configure --build="$gnuArch" --enable-integer-datetimes --enable-thread-safety --disable-rpath --with-ossp-uuid --with-gnu-ld --with-pgport=5432 --with-system-tzdata=/usr/share/zoneinfo --prefix=/usr/local --with-includes=/usr/local/include --with-libraries=/usr/local/lib --with-openssl --with-libxml --with-libxslt && make -j "$(nproc)" world && make install-world && 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 }' )" && apk add --no-cache --virtual .postgresql-rundeps $runDeps bash su-exec tzdata && apk del .fetch-deps .build-deps && cd / && rm -rf /usr/src/postgresql /usr/local/share/doc /usr/local/share/man && find /usr/local -name '*.a' -delete

2017-09-26 01:28:58 UTC

/bin/sh -c sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/local/share/postgresql/postgresql.conf.sample

2017-09-26 01:28:59 UTC

/bin/sh -c mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 2777 /var/run/postgresql

2017-09-26 01:28:59 UTC

/bin/sh -c #(nop) ENV PATH=/usr/lib/postgresql/9.2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2017-09-26 01:28:59 UTC

/bin/sh -c #(nop) ENV PGDATA=/var/lib/postgresql/data

2017-09-26 01:29:00 UTC

/bin/sh -c mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA" # this 777 will be replaced by 700 at runtime (allows semi-arbitrary "--user" values)

2017-09-26 01:29:00 UTC

/bin/sh -c #(nop) VOLUME [/var/lib/postgresql/data]

2017-09-26 01:29:01 UTC

/bin/sh -c #(nop) COPY file:d5038a27fbcfa2f7c3a5e92ffdbfda1676a7a65ecb52a9b377a6041a59e1c1d7 in /usr/local/bin/

2017-09-26 01:29:01 UTC

/bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh / # backwards compat

2017-09-26 01:29:01 UTC

/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]

2017-09-26 01:29:01 UTC

/bin/sh -c #(nop) EXPOSE 5432/tcp

2017-09-26 01:29:02 UTC

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