Namespace
vulhub
Image / Tag
php:5.6-apache
Content Digest
sha256:bf92fbaec255e40d2382c1763e57c6949a4979501f3c04e8c94466fb4ced8a79
Details
Created

2017-05-07 18:07:43 UTC

Size

149 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

GPG_KEYS

0BD78B5F97500D450838F95DFE857D9A90D90EC1 6E4F6AB321FDC07F2C332E3AC2BF0BC433CFC8B3

PATH

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

PHPIZE_DEPS

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

PHP_ASC_URL

https://secure.php.net/get/php-5.6.30.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

68753955a8964ae49064c6424f81eb3e

PHP_SHA256

a363185c786432f75e3c7ff956b49c3369c3f6906a6b10459f8d1ddc22f70805

PHP_URL

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

PHP_VERSION

5.6.30


Layers

[#000] sha256:cd0a524342efac6edff500c17e625735bbe479c926439b263bbe3c8518a0849c - 33.59% (50.1 MB)

[#001] sha256:14b8a88a0af049efa3c92b1c96a947f501ec7c751a568b0d3881b3c757a184a3 - 50.4% (75.2 MB)

[#002] sha256:d78c922dd678a8a2c701087b1ac1381c50cb83d0bf5fc1c55c86f1ce22c7c49f - 0.0% (178 Bytes)

[#003] sha256:6680e61553d3560bbea1e9216874edb5343ee5de4ac18c563d6c172b99ad8a29 - 1.86% (2.78 MB)

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

[#005] sha256:048af0e095264aca62e46b93162f4b66446bc1757207ab9eef0daf7db10b02bc - 0.0% (422 Bytes)

[#006] sha256:d11ab675603929db5ec0fc46e5515d12e15fb78cc56c54fe03fe0f54536aafb3 - 0.0% (223 Bytes)

[#007] sha256:8b684f7dda232126ac8d2bacfb38b9d65cbf2eec0c4f0e832dfe88f1e9f2d38c - 0.0% (475 Bytes)

[#008] sha256:206854c69eb74ef6ef251a17eab670993e42e7782a24e2e09ec838f4e29fc17d - 8.04% (12 MB)

[#009] sha256:b7e643dc9b09439ff3960ee95f984ec37f3017db06771ca4e9fcf1fbec07a2ce - 0.0% (495 Bytes)

[#010] sha256:b9503d4d2386dc728ad0e8f848f933a9b492ad02087d0cbc845c0e0d7628d531 - 6.1% (9.1 MB)

[#011] sha256:0493b2037613ffe23d59de45cf4207fbe734b3ce6941ceca418438614136ed25 - 0.0% (2 KB)

[#012] sha256:860ba2172be97015ecdd9d6a61ca6c0df46bfb87da14685a67355a0a40fd3afb - 0.0% (891 Bytes)


History
2017-04-24 19:20:41 UTC

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

2017-04-24 19:20:42 UTC

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

2017-04-25 02:53:21 UTC

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

2017-04-25 02:53:59 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-04-25 02:54:01 UTC

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

2017-04-25 02:54:03 UTC

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

2017-04-25 03:02:14 UTC

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

2017-04-25 03:02:23 UTC

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

2017-04-25 03:02:24 UTC

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

2017-04-25 03:02:25 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-04-25 03:02:46 UTC

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

2017-04-25 03:02:48 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-04-25 03:02:50 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-04-25 03:03:08 UTC

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

2017-04-25 03:03:09 UTC

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

2017-04-25 03:03:10 UTC

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

2017-04-25 03:03:11 UTC

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

2017-04-25 03:03:32 UTC

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

2017-04-25 03:03:33 UTC

/bin/sh -c #(nop) ENV GPG_KEYS=0BD78B5F97500D450838F95DFE857D9A90D90EC1 6E4F6AB321FDC07F2C332E3AC2BF0BC433CFC8B3

2017-04-25 03:03:34 UTC

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

2017-04-25 03:03:35 UTC

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

2017-04-25 03:03:36 UTC

/bin/sh -c #(nop) ENV PHP_SHA256=a363185c786432f75e3c7ff956b49c3369c3f6906a6b10459f8d1ddc22f70805 PHP_MD5=68753955a8964ae49064c6424f81eb3e

2017-04-25 03:03:49 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-04-25 03:03:50 UTC

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

2017-04-25 03:06:58 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 && ./configure --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 $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-05 20:43:27 UTC

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

2017-05-05 20:43:28 UTC

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

2017-05-05 20:43:29 UTC

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

2017-05-05 20:43:30 UTC

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

2017-05-05 20:43:31 UTC

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

2017-05-05 20:43:31 UTC

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

2017-05-07 18:07:43 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