Namespace
vulhub
Image / Tag
php:5.4.1-cgi
Content Digest
sha256:dc9ef2d0cafcf9583b682e0cbfdbd75ecf9d4689a05c7c30804273f2eecf5c53
Details
Created

2018-09-13 17:27:32 UTC

Size

172 MB

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

Environment
PATH

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

PHP_INI_DIR

/usr/local/etc/php

PHP_VERSION

5.4.1


Layers

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

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

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

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

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

[#005] sha256:75fc98f5151db30cf3d834fa2e268aaf2bcefc0ef92f8ad8fc39ef3ff0830c1a - 2.87% (4.95 MB)

[#006] sha256:0aabfe08a0a5288f5fc346ad62a7b9a11eb04caa647f3beded1856f1e4fec2ca - 19.84% (34.2 MB)

[#007] sha256:c08e4016faef0d1827d931c8d65862ad619ef292201634ee2d75f78903131434 - 0.0% (1.03 KB)

[#008] sha256:10b28010c1f68ad876dd1786bccc3895a6a1613fa46a00d29f139cac7f8fd0fe - 1.67% (2.87 MB)

[#009] sha256:6e76700823fc0329dd1a2ac782cd5355eb849c4c62069fe562622ae997dbb846 - 0.0% (910 Bytes)


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 17:47:02 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 17:47:02 UTC

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

2018-09-12 18:31:00 UTC

/bin/sh -c buildDeps=" autoconf2.13 libcurl4-openssl-dev libreadline6-dev librecode-dev libsqlite3-dev libssl-dev xz-utils " && 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" --enable-mysqlnd --enable-mbstring --with-mysql --with-curl --with-openssl=/usr/local/ssl --with-readline --with-recode --with-zlib && 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 18:31:01 UTC

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

2018-09-12 18:31:01 UTC

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

2018-09-12 18:31:01 UTC

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

2018-09-13 17:27:10 UTC

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

2018-09-13 17:27:31 UTC

/bin/sh -c set -ex && apt-get update && apt-get install -y --no-install-recommends apache2 && rm -rf /var/lib/apt/lists/* && { echo; echo '<Directory "/usr/local/bin">'; echo ' Require all granted'; echo ' Options ExecCGI'; echo '</Directory>'; echo; echo 'ScriptAlias /local-bin /usr/local/bin'; echo; echo "<Directory \"/var/www/html\">"; echo ' AddHandler application/x-httpd-php5 php'; echo ' Action application/x-httpd-php5 /local-bin/php-cgi'; echo ' Options -Indexes'; echo ' Require all granted'; echo ' DirectoryIndex index.html index.php'; echo '</Directory>'; echo; } >> /etc/apache2/conf-available/php.conf && a2enmod cgid && a2enmod actions && a2disconf serve-cgi-bin && a2enconf php

2018-09-13 17:27:32 UTC

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

2018-09-13 17:27:32 UTC

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

2018-09-13 17:27:32 UTC

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

2018-09-13 17:27:32 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