Namespace
vulhub
Image / Tag
thinkphp:5.0.9
Content Digest
sha256:78b0d2b0dbc1d3628054f9b70f7b4a7b341fec76f0d9e66c755a6c2d6cf169f1
Details
Created

2018-06-21 15:22:58 UTC

Size

140 MB

Content Digest
Environment
APACHE_CONFDIR

/etc/apache2

APACHE_DOCUMENT_ROOT

/var/www/public

APACHE_ENVVARS

/etc/apache2/envvars

GPG_KEYS

A917B1ECDA84AEC2B568FED6F50ABC807BD5DCD0 528995BFEDFBA7191D46839EF9BA0ADA31CBD89E 1729F83938DA44E27BA0F4D3DBDB397470D12172

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.18.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 --disable-cgi

PHP_INI_DIR

/usr/local/etc/php

PHP_LDFLAGS

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

PHP_MD5

PHP_SHA256

8bd91cea072ea5b368cc9b4533a1a683eb426abdacbf024bb6ffa9b799cd3b01

PHP_URL

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

PHP_VERSION

7.1.18


Layers

[#000] sha256:f2aa67a397c49232112953088506d02074a1fe577f65dc2052f158a3e5da52e8 - 15.37% (21.5 MB)

[#001] sha256:4c3122805fd6b61aedc41ea32477bdf861be02f3560440251bd911932e488a9d - 0.0% (229 Bytes)

[#002] sha256:98ce407ee18ac151a8512a105ca584f4b200ec3ec35c88ed9435e2840cbdf4d5 - 46.1% (64.3 MB)

[#003] sha256:8a56b8f1ca720c6f5d40d35bd3e56b39d9f42373fc6f8fdfb47b6b0352ed10dd - 0.0% (184 Bytes)

[#004] sha256:3eb04e3939f2dc669c1cc56cb6afef217ae444bed94fd1a9cb6d55e354f7b453 - 11.7% (16.3 MB)

[#005] sha256:f5ecc66c0a5f916b543f434285d6686abac5789a679529f25383d8d9ce1da648 - 0.0% (1.22 KB)

[#006] sha256:30ebdb4a78e1b75b790dd3816473d42b9c82ceab74a2cb166095d745be8167e7 - 0.0% (431 Bytes)

[#007] sha256:9e9c0e2ba7f1da3cdead974697d5fe11070c0b5d78a4bdeedc44ead76c4a3ab4 - 0.0% (229 Bytes)

[#008] sha256:da976026223ed90bc7b47562851bd48339fe731d58be723e1c3fd31bc7f1e4f4 - 0.0% (485 Bytes)

[#009] sha256:702632f721452e9be2784675be3f15b6be7b9091d6908014537cb397790e75f9 - 8.59% (12 MB)

[#010] sha256:6b1c02e758e62556e6c2740873d84b872d04efbbf5d8f88e02f6fe0502e092e0 - 0.0% (501 Bytes)

[#011] sha256:88c98c99af7c1bef8b654b28bfbd19492d83ce95e214dd86ba5b8122bb0e008d - 9.69% (13.5 MB)

[#012] sha256:c7b652ecb98a8c6f49da9f2da104a86d1f2c8fa60e7e41936a6873153c61d869 - 0.0% (2.14 KB)

[#013] sha256:96ac97e8ab614ba5e991064d0ae7340cfb60504389774ce131b9b65c2877614c - 0.0% (904 Bytes)

[#014] sha256:1fa0f01cf2f088c3ca883bc9f591c2f98d961cf8762c0d87788d9f024072b120 - 0.34% (488 KB)

[#015] sha256:42422f56c300de2689a9d9fa2fe82f465ff7102e19fc78d49f3cfd672470e1d2 - 0.01% (19.4 KB)

[#016] sha256:5cb83c58ce77fa05efe070e76de3be5d5703d59996ca9b2c7cda7b7a6a3f026f - 0.0% (435 Bytes)

[#017] sha256:827e5c9f7e201bc5b4400e11e87bcb9965ffb77e5a4c1b7dd2c68b2823556d22 - 8.18% (11.4 MB)


History
2018-04-28 07:09:59 UTC

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

2018-04-28 07:09:59 UTC

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

2018-06-06 18:49:50 UTC

/bin/sh -c set -eux; { echo 'Package: php*'; echo 'Pin: release *'; echo 'Pin-Priority: -1'; } > /etc/apt/preferences.d/no-debian-php

2018-06-06 18:49:50 UTC

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

2018-06-06 18:50:28 UTC

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

2018-06-06 18:50:29 UTC

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

2018-06-06 18:50:29 UTC

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

2018-06-06 18:57:16 UTC

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

2018-06-06 18:57:16 UTC

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

2018-06-06 18:57:16 UTC

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

2018-06-06 18:57:17 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-06-06 18:57:19 UTC

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

2018-06-06 18:57:20 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-06-06 18:57:20 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-06-06 18:57:20 UTC

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

2018-06-18 23:34:58 UTC

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

2018-06-18 23:34:58 UTC

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

2018-06-18 23:34:58 UTC

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

2018-06-18 23:34:59 UTC

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

2018-06-19 00:14:57 UTC

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

2018-06-19 00:14:57 UTC

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

2018-06-19 00:14:57 UTC

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

2018-06-19 00:14:57 UTC

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

2018-06-20 22:12:00 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; command -v gpgconf > /dev/null && gpgconf --kill all; rm -rf "$GNUPGHOME"; fi; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $fetchDeps

2018-06-20 22:12:00 UTC

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

2018-06-20 22:14:41 UTC

/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libcurl4-openssl-dev libedit-dev libsqlite3-dev libssl-dev libxml2-dev zlib1g-dev ${PHP_EXTRA_BUILD_DEPS:-} ; 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" --enable-option-checking=fatal --with-mhash --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-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { print $(NF-1) }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; php --version; pecl update-channels; rm -rf /tmp/pear ~/.pearrc

2018-06-20 22:14:42 UTC

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

2018-06-20 22:14:42 UTC

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

2018-06-20 22:14:42 UTC

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

2018-06-20 22:14:42 UTC

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

2018-06-20 22:14:42 UTC

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

2018-06-20 22:14:43 UTC

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

2018-06-21 11:20:16 UTC

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

2018-06-21 15:22:32 UTC

/bin/sh -c set -ex && apt-get update && apt-get install -y --no-install-recommends unzip && docker-php-ext-install -j$(nproc) pdo_mysql && rm -rf /var/lib/apt/lists/*

2018-06-21 15:22:32 UTC

/bin/sh -c #(nop) ENV APACHE_DOCUMENT_ROOT=/var/www/public

2018-06-21 15:22:34 UTC

/bin/sh -c set -ex && cd /var/www && rm -rf * && curl -#SL https://github.com/top-think/think/archive/v5.0.9.tar.gz | tar zx --strip-components=1 && sed -ri -e 's!/var/www/html!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/sites-available/*.conf && sed -ri -e 's!/var/www/!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/apache2.conf /etc/apache2/conf-available/*.conf

2018-06-21 15:22:34 UTC

/bin/sh -c #(nop) COPY file:ae9719917c702e4f966bb44def43349b590cf4f9e010bffba74e208102461e68 in /var/www/

2018-06-21 15:22:58 UTC

/bin/sh -c set -ex && cd /var/www && curl -#sSL https://getcomposer.org/composer.phar -o composer.phar && php composer.phar install && chown www-data:www-data -R .

2018-06-21 15:22:58 UTC

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

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