Namespace
vulhub
Image / Tag
php:7.1.12-apache
Content Digest
sha256:8393e8d79cc4cd7a84cb2aa30a608a17f084423c9c886f325458287c345ca308
Details
Created

2017-12-05 16:41:04 UTC

Size

156 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

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 make pkg-config re2c

PHP_ASC_URL

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

PHP_CFLAGS

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

PHP_CPPFLAGS

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

PHP_EXTRA_BUILD_DEPS

apache2-dev

PHP_EXTRA_CONFIGURE_ARGS

--with-apxs2

PHP_INI_DIR

/usr/local/etc/php

PHP_LDFLAGS

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

PHP_MD5

PHP_SHA256

a0118850774571b1f2d4e30b4fe7a4b958ca66f07d07d65ebdc789c54ba6eeb3

PHP_URL

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

PHP_VERSION

7.1.12


Layers

[#000] sha256:85b1f47fba49da65256f07c8790542a3880e9216f9c491965040f35ce2c6ca7a - 32.06% (50.2 MB)

[#001] sha256:c266283065ed384496a48d17b330b2fe844c74558ded1397d54b3ad1ecf61699 - 49.9% (78.1 MB)

[#002] sha256:ec99b99d75b15e7271800232999805dbbd2b22b461813e170fd6c625a494eabc - 0.0% (183 Bytes)

[#003] sha256:1acd20a385dfd8dea7297ea6658d0ff43d4ddee1b02044378bb03efff7133afd - 1.84% (2.87 MB)

[#004] sha256:82d806755bbb5d3592be294a0a581e53b9bd25ee60186509409442a440872203 - 0.0% (1.22 KB)

[#005] sha256:0a68419027d0100a424f424b6cd160e00702be46f47525e633328cffd746d496 - 0.0% (428 Bytes)

[#006] sha256:1d54cf8a3cefda521fb3196ee218b091bc09e4330b1cc9dda39801c2f73bf350 - 0.0% (230 Bytes)

[#007] sha256:7f625202d40e3571f24dfceba5d6eace6a429eabd3369d6b68b891f81c3464d1 - 0.0% (482 Bytes)

[#008] sha256:8843c299328266605afdeb110fe4111af56ce837a8f5487431127c679e49b5f9 - 7.65% (12 MB)

[#009] sha256:9c70831205092e20b5ad6d995043ba16c7eab50d121158d5aa244bb3a25d65b3 - 0.0% (501 Bytes)

[#010] sha256:a359774becb80ff9ac2beb9b60bab98fe5d442bf927b49faae117902479973a2 - 8.55% (13.4 MB)

[#011] sha256:90486878aecff91f32f254a70f34de891dbb075c8756b6c686d289869eeb4232 - 0.0% (2.13 KB)

[#012] sha256:d3a3e2cc7e65dd1cf6c597a9a85aef4aa2340305d9099c8b47a4776f512fea3b - 0.0% (902 Bytes)


History
2017-11-04 05:21:35 UTC

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

2017-11-04 05:21:36 UTC

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

2017-12-01 01:42:41 UTC

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

2017-12-01 01:43:15 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-12-01 01:43:15 UTC

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

2017-12-01 01:43:16 UTC

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

2017-12-01 01:48:25 UTC

/bin/sh -c apt-get update && apt-get install -y --no-install-recommends apache2 && rm -rf /var/lib/apt/lists/*

2017-12-01 01:48:27 UTC

/bin/sh -c #(nop) ENV APACHE_CONFDIR=/etc/apache2

2017-12-01 01:48:27 UTC

/bin/sh -c #(nop) ENV APACHE_ENVVARS=/etc/apache2/envvars

2017-12-01 01:48:28 UTC

/bin/sh -c set -ex && sed -ri 's/^export ([^=]+)=(.*)$/: ${\1:=\2}\nexport \1/' "$APACHE_ENVVARS" && . "$APACHE_ENVVARS" && for dir in "$APACHE_LOCK_DIR" "$APACHE_RUN_DIR" "$APACHE_LOG_DIR" /var/www/html ; do rm -rvf "$dir" && mkdir -p "$dir" && chown -R "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$dir"; done

2017-12-01 01:48:28 UTC

/bin/sh -c a2dismod mpm_event && a2enmod mpm_prefork

2017-12-01 01:48:29 UTC

/bin/sh -c set -ex && . "$APACHE_ENVVARS" && ln -sfT /dev/stderr "$APACHE_LOG_DIR/error.log" && ln -sfT /dev/stdout "$APACHE_LOG_DIR/access.log" && ln -sfT /dev/stdout "$APACHE_LOG_DIR/other_vhosts_access.log"

2017-12-01 01:48:30 UTC

/bin/sh -c { echo '<FilesMatch \.php$>'; echo '\tSetHandler application/x-httpd-php'; echo '</FilesMatch>'; echo; echo 'DirectoryIndex disabled'; echo 'DirectoryIndex index.php index.html'; echo; echo '<Directory /var/www/>'; echo '\tOptions -Indexes'; echo '\tAllowOverride All'; echo '</Directory>'; } | tee "$APACHE_CONFDIR/conf-available/docker-php.conf" && a2enconf docker-php

2017-12-01 01:48:34 UTC

/bin/sh -c #(nop) ENV PHP_EXTRA_BUILD_DEPS=apache2-dev

2017-12-01 01:48:34 UTC

/bin/sh -c #(nop) ENV PHP_EXTRA_CONFIGURE_ARGS=--with-apxs2

2017-12-01 01:48:34 UTC

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

2017-12-01 01:48:35 UTC

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

2017-12-01 01:48:35 UTC

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

2017-12-01 01:48:35 UTC

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

2017-12-01 01:48:35 UTC

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

2017-12-01 01:48:35 UTC

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

2017-12-01 01:48:35 UTC

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

2017-12-01 01:48:50 UTC

/bin/sh -c set -xe; fetchDeps=' wget '; if ! command -v gpg > /dev/null; then fetchDeps="$fetchDeps dirmngr gnupg "; fi; 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 -rf "$GNUPGHOME"; fi; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps

2017-12-01 01:48:54 UTC

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

2017-12-01 01:51:48 UTC

/bin/sh -c set -xe && buildDeps=" $PHP_EXTRA_BUILD_DEPS libcurl4-openssl-dev libedit-dev libsqlite3-dev libssl-dev libxml2-dev zlib1g-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)" && debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)" && if [ ! -d /usr/include/curl ]; then ln -sT "/usr/include/$debMultiarch/curl" /usr/local/include/curl; fi && ./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 $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') --with-libdir="lib/$debMultiarch" $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 && cd / && docker-php-source delete && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $buildDeps && pecl update-channels && rm -rf /tmp/pear ~/.pearrc

2017-12-01 01:51:51 UTC

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

2017-12-01 01:51:51 UTC

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

2017-12-01 01:51:51 UTC

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

2017-12-01 01:51:51 UTC

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

2017-12-01 01:51:51 UTC

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

2017-12-01 01:51:52 UTC

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

2017-12-05 16:41:04 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