Namespace
vulhub
Image / Tag
php:5.4.1-apache
Content Digest
sha256:73cab99763a7b2e86514cdd6815b400bd1004014a1fe7e69a93069bc6d0e0555
Details
Created

2018-09-12 17:03:21 UTC

Size

169 MB

Content Digest
Labels
  • maintainer
    phithon <root@leavesongs.com>

Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

PATH

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

PHP_EXTRA_BUILD_DEPS

apache2-dev

PHP_EXTRA_CONFIGURE_ARGS

--with-apxs2

PHP_INI_DIR

/usr/local/etc/php

PHP_VERSION

5.4.1


Layers

[#000] sha256:3d77ce4481b119f00e53bee9b4a443469c42c224db954ddaa2e6b74cd73cd5d0 - 30.63% (51.7 MB)

[#001] sha256:7fbf6b557427005c0d785f57d6f5c372165864f74a3ee50e761db787e01b2796 - 8.43% (14.2 MB)

[#002] sha256:56e162777e05d107120e1332b4084a8e9e7825b74bfa046ac581270b04ded296 - 35.88% (60.6 MB)

[#003] sha256:def83e9b2aace6fb5cf30560145c31785a3842ea0e05750a9c75c70589bfe45e - 0.0% (214 Bytes)

[#004] sha256:47b1409e525321e5092cd93cecf9de47e1f745c30458ce24e8179d92bb4f8d5b - 2.26% (3.81 MB)

[#005] sha256:463fa1a7927d89e39a88e8a023fb49657dc677cd343b675d4e6528986730907b - 1.7% (2.87 MB)

[#006] sha256:5d1a866bed2a4ad2ed98c6ebe5cbd920ef7e7c69b80f0e2d62f63ecab6b6c865 - 0.0% (1.25 KB)

[#007] sha256:90a6d9c9dadaaf39b8f7fd58862343e4a1558af52406c31e24aa6e91ea5ff340 - 0.0% (469 Bytes)

[#008] sha256:ad62dc996e848e0f04870f8df1d8eaca584a38d0aec2667f8017d3e72b70d085 - 0.0% (231 Bytes)

[#009] sha256:b688c953f6bf9f86fbd3a32b3b441b5a18c1c61891637026232d2dbb271066a4 - 0.0% (511 Bytes)

[#010] sha256:0738d596f913105729aae9050d1e38969f80e8d00c2420823fc8a8c5cc8fd5b0 - 2.93% (4.95 MB)

[#011] sha256:fc0c79de0cef7f984ad9dd682852f1bb027fc7423db224af793f3192b90be436 - 18.19% (30.7 MB)

[#012] sha256:bbcd1255fa3930cf7336f35291e31c44af54ad1eed909c02e21f78987cd86e9f - 0.0% (1.68 KB)


History
2018-04-28 06:44:15 UTC

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

2018-04-28 06:44:16 UTC

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

2018-09-12 16:20:09 UTC

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

2018-09-12 16:20:40 UTC

/bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates curl librecode0 libmysqlclient-dev libsqlite3-0 libxml2 && apt-get clean && rm -r /var/lib/apt/lists/*

2018-09-12 16:21:19 UTC

/bin/sh -c apt-get update && apt-get install -y --no-install-recommends autoconf file g++ gcc libc-dev make pkg-config re2c && apt-get clean && rm -r /var/lib/apt/lists/*

2018-09-12 16:21:20 UTC

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

2018-09-12 16:21:20 UTC

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

2018-09-12 16:25:25 UTC

/bin/sh -c OPENSSL_VERSION="1.0.2k" && cd /tmp && mkdir openssl && curl -sL "https://www.openssl.org/source/openssl-$OPENSSL_VERSION.tar.gz" -o openssl.tar.gz && tar -xzf openssl.tar.gz -C openssl --strip-components=1 && cd /tmp/openssl && ./config -fPIC && make && make install && rm -rf /tmp/*

2018-09-12 16:25:26 UTC

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

2018-09-12 16:25:48 UTC

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

2018-09-12 16:25:48 UTC

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

2018-09-12 16:25:48 UTC

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

2018-09-12 16:25:48 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

2018-09-12 16:25:49 UTC

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

2018-09-12 16:25:50 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"

2018-09-12 16:25: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

2018-09-12 16:25:50 UTC

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

2018-09-12 16:25:50 UTC

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

2018-09-12 16:47:21 UTC

/bin/sh -c set -ex && mkdir /tmp/libxml && cd /tmp/libxml && curl -#sSL http://xmlsoft.org/sources/libxml2-2.8.0.tar.gz | tar xz --strip-components=1 && ./configure && make && make install && make clean && rm -rf /tmp/libxml

2018-09-12 16:57:13 UTC

/bin/sh -c buildDeps=" autoconf2.13 libcurl4-openssl-dev libreadline6-dev librecode-dev libsqlite3-dev libssl-dev xz-utils apache2-dev " && set -x && apt-get update && apt-get install -y $buildDeps --no-install-recommends && rm -rf /var/lib/apt/lists/* && mkdir -p /usr/src/php && curl -#SL "http://museum.php.net/php5/php-${PHP_VERSION}.tar.gz" | tar zx -C /usr/src/php --strip-components=1 && 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-mysqlnd --enable-mbstring --with-mysql --with-curl --with-openssl=/usr/local/ssl --with-readline --with-recode --with-zlib --with-apxs2 && make -j"$(nproc)" && make install && { find /usr/local/bin /usr/local/sbin -type f -executable -exec strip --strip-all '{}' + || true; } && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false -o APT::AutoRemove::SuggestsImportant=false $buildDeps && make clean

2018-09-12 17:03:20 UTC

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

2018-09-12 17:03:21 UTC

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

2018-09-12 17:03:21 UTC

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

2018-09-12 17:03:21 UTC

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

2018-09-12 17:03:21 UTC

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

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