Namespace
vulhub
Image / Tag
php:7-fpm
Content Digest
sha256:91eb2bb2fa501b7287f5c43e00f1463cf5a95c9feaaca908376dc5f6f7ed47f4
Details
Created

2017-05-16 19:23:38 UTC

Size

154 MB

Content Digest
Environment
GPG_KEYS

A917B1ECDA84AEC2B568FED6F50ABC807BD5DCD0 528995BFEDFBA7191D46839EF9BA0ADA31CBD89E

PATH

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

PHPIZE_DEPS

autoconf dpkg-dev file g++ gcc libc-dev libpcre3-dev make pkg-config re2c

PHP_ASC_URL

https://secure.php.net/get/php-7.1.5.tar.xz.asc/from/this/mirror

PHP_CFLAGS

-fstack-protector-strong -fpic -fpie -O2

PHP_CPPFLAGS

-fstack-protector-strong -fpic -fpie -O2

PHP_EXTRA_CONFIGURE_ARGS

--enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data

PHP_INI_DIR

/usr/local/etc/php

PHP_LDFLAGS

-Wl,-O1 -Wl,--hash-style=both -pie

PHP_MD5

fb0702321c7aceac68c82b8c7a10d196

PHP_SHA256

d149a3c396c45611f5dc6bf14be190f464897145a76a8e5851cf18ff7094f6ac

PHP_URL

https://secure.php.net/get/php-7.1.5.tar.xz/from/this/mirror

PHP_VERSION

7.1.5


Layers

[#000] sha256:10a267c67f423630f3afe5e04bbbc93d578861ddcc54283526222f3ad5e895b9 - 32.64% (50.1 MB)

[#001] sha256:370377701f89cff89a25897f719848740ad95b97828c7ffdf8444bdafef6436b - 51.21% (78.7 MB)

[#002] sha256:455c73a122bc8a30bbb47aacf289778a636517eb5d841408435625ec4394a9c7 - 0.0% (177 Bytes)

[#003] sha256:de62618f93d50c187f3fa16e661dd214bcc83e95d34f98c46669734535d47ff2 - 8.02% (12.3 MB)

[#004] sha256:27f22fecc61ccaf1b5d5184c1f47c6acb21af6bc70a5e1a20c4fce079140e6a8 - 0.0% (494 Bytes)

[#005] sha256:84248d5c48b4fed0a9d0aba767cb6ba4c98a57d7c2cb599b9c65017aaede44c7 - 8.12% (12.5 MB)

[#006] sha256:74fbccbaebee51d27b623a0dd2680f0a981515f4e6ea05077e540b879a772cae - 0.0% (2.07 KB)

[#007] sha256:3fda988f2cb5d166ce10c6feddde6267edf2575ec505e3e5f40463e579ed20a7 - 0.0% (129 Bytes)

[#008] sha256:3824726faa232c622d233e921a6ba4fd3d2bdf28023197dc46d8dd95b411e40d - 0.0% (7.5 KB)


History
2017-05-08 23:28:14 UTC

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

2017-05-08 23:28:15 UTC

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

2017-05-12 23:58:16 UTC

/bin/sh -c #(nop) ENV PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev libpcre3-dev make pkg-config re2c

2017-05-12 23:58:56 UTC

/bin/sh -c apt-get update && apt-get install -y $PHPIZE_DEPS ca-certificates curl libedit2 libsqlite3-0 libxml2 xz-utils --no-install-recommends && rm -r /var/lib/apt/lists/*

2017-05-12 23:58:59 UTC

/bin/sh -c #(nop) ENV PHP_INI_DIR=/usr/local/etc/php

2017-05-12 23:59:00 UTC

/bin/sh -c mkdir -p $PHP_INI_DIR/conf.d

2017-05-13 00:14:10 UTC

/bin/sh -c #(nop) ENV PHP_EXTRA_CONFIGURE_ARGS=--enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data

2017-05-13 00:14:11 UTC

/bin/sh -c #(nop) ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2

2017-05-13 00:14:12 UTC

/bin/sh -c #(nop) ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2

2017-05-13 00:14:12 UTC

/bin/sh -c #(nop) ENV PHP_LDFLAGS=-Wl,-O1 -Wl,--hash-style=both -pie

2017-05-13 00:14:13 UTC

/bin/sh -c #(nop) ENV GPG_KEYS=A917B1ECDA84AEC2B568FED6F50ABC807BD5DCD0 528995BFEDFBA7191D46839EF9BA0ADA31CBD89E

2017-05-13 00:14:14 UTC

/bin/sh -c #(nop) ENV PHP_VERSION=7.1.5

2017-05-13 00:14:15 UTC

/bin/sh -c #(nop) ENV PHP_URL=https://secure.php.net/get/php-7.1.5.tar.xz/from/this/mirror PHP_ASC_URL=https://secure.php.net/get/php-7.1.5.tar.xz.asc/from/this/mirror

2017-05-13 00:14:15 UTC

/bin/sh -c #(nop) ENV PHP_SHA256=d149a3c396c45611f5dc6bf14be190f464897145a76a8e5851cf18ff7094f6ac PHP_MD5=fb0702321c7aceac68c82b8c7a10d196

2017-05-13 00:14:28 UTC

/bin/sh -c set -xe; fetchDeps=' wget '; apt-get update; apt-get install -y --no-install-recommends $fetchDeps; rm -rf /var/lib/apt/lists/*; mkdir -p /usr/src; cd /usr/src; wget -O php.tar.xz "$PHP_URL"; if [ -n "$PHP_SHA256" ]; then echo "$PHP_SHA256 *php.tar.xz" | sha256sum -c -; fi; if [ -n "$PHP_MD5" ]; then echo "$PHP_MD5 *php.tar.xz" | md5sum -c -; fi; if [ -n "$PHP_ASC_URL" ]; then wget -O php.tar.xz.asc "$PHP_ASC_URL"; export GNUPGHOME="$(mktemp -d)"; for key in $GPG_KEYS; do gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; done; gpg --batch --verify php.tar.xz.asc php.tar.xz; rm -r "$GNUPGHOME"; fi; apt-get purge -y --auto-remove $fetchDeps

2017-05-13 00:14:30 UTC

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

2017-05-13 00:19:09 UTC

/bin/sh -c set -xe && buildDeps=" $PHP_EXTRA_BUILD_DEPS libcurl4-openssl-dev libedit-dev libsqlite3-dev libssl-dev libxml2-dev " && apt-get update && apt-get install -y $buildDeps --no-install-recommends && rm -rf /var/lib/apt/lists/* && export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" && docker-php-source extract && cd /usr/src/php && gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" && ./configure --build="$gnuArch" --with-config-file-path="$PHP_INI_DIR" --with-config-file-scan-dir="$PHP_INI_DIR/conf.d" --disable-cgi --enable-ftp --enable-mbstring --enable-mysqlnd --with-curl --with-libedit --with-openssl --with-zlib --with-pcre-regex=/usr --with-libdir="lib/$gnuArch" $PHP_EXTRA_CONFIGURE_ARGS && make -j "$(nproc)" && make install && { find /usr/local/bin /usr/local/sbin -type f -executable -exec strip --strip-all '{}' + || true; } && make clean && docker-php-source delete && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $buildDeps

2017-05-13 00:22:29 UTC

/bin/sh -c #(nop) COPY multi:1401feee8064a06ad514519ec870939c946ecfdf381c82a90cb2035486938ee9 in /usr/local/bin/

2017-05-13 00:22:30 UTC

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

2017-05-13 00:22:31 UTC

/bin/sh -c #(nop) WORKDIR /var/www/html

2017-05-13 00:22:32 UTC

/bin/sh -c set -ex && cd /usr/local/etc && if [ -d php-fpm.d ]; then sed 's!=NONE/!=!g' php-fpm.conf.default | tee php-fpm.conf > /dev/null; cp php-fpm.d/www.conf.default php-fpm.d/www.conf; else mkdir php-fpm.d; cp php-fpm.conf.default php-fpm.d/www.conf; { echo '[global]'; echo 'include=etc/php-fpm.d/*.conf'; } | tee php-fpm.conf; fi && { echo '[global]'; echo 'error_log = /proc/self/fd/2'; echo; echo '[www]'; echo '; if we send this to /proc/self/fd/1, it never appears'; echo 'access.log = /proc/self/fd/2'; echo; echo 'clear_env = no'; echo; echo '; Ensure worker stdout and stderr are sent to the main error log.'; echo 'catch_workers_output = yes'; } | tee php-fpm.d/docker.conf && { echo '[global]'; echo 'daemonize = no'; echo; echo '[www]'; echo 'listen = [::]:9000'; } | tee php-fpm.d/zz-docker.conf

2017-05-13 00:22:33 UTC

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

2017-05-13 00:22:33 UTC

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

2017-05-16 19:23:38 UTC

/bin/sh -c #(nop) MAINTAINER phithon <root@leavesongs.com>

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