Namespace
vulhub
Image / Tag
phpmyadmin:4.8.1
Content Digest
sha256:3765f9c7094550dc8c0e1f3e771d29aa57b7243f7938e490e37bb8490ea14db5
Details
Created

2018-06-21 09:56:36 UTC

Size

139 MB

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

Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

GPG_KEYS

1729F83938DA44E27BA0F4D3DBDB397470D12172 B1B44D8F021E4E2D6021E995DC9FF8D3EE5AF27F

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.2.5.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

af70a33b3f7a51510467199b39af151333fbbe4cc21923bad9c7cf64268cddb2

PHP_URL

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

PHP_VERSION

7.2.5


Layers

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

[#001] sha256:c533bdb78a46d6fc7392f5fd59496af8e95cd2eb52072c5bd9e262d8a9943e5b - 0.0% (228 Bytes)

[#002] sha256:65a7293804ac541b4e9fb51a61f31aba124f3f97a40712be982f7a3cdaa84426 - 46.32% (64.3 MB)

[#003] sha256:35a9c1f94aea2473a0dc8c23d711525935ef414c4744c0845e0f945501c788ca - 0.0% (183 Bytes)

[#004] sha256:651774c607cca74adfe7a9212a81ab061593db09d6c491f9b18927db5d9749ce - 11.76% (16.3 MB)

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

[#006] sha256:9ff29ed84bfc2323b6fc07a71aa1cb1e466bf44127aab741109032b8d019755c - 0.0% (429 Bytes)

[#007] sha256:647feb0f63551e55427f222eb4e3b033b4a2b36291b5f43d560ed1eb1184ce50 - 0.0% (229 Bytes)

[#008] sha256:0b9d1c5408630a920da8d987ff97a3dc1cfcf362a31d3cd1a310011bd46971cf - 0.0% (484 Bytes)

[#009] sha256:3416ab5471ed0a38488a9d3a3b76184995422f3fd5a39a973179b9831baf4d2e - 8.5% (11.8 MB)

[#010] sha256:246c5fc29b1acd89868c9c2bffc56a62713b578069fab727aed201b45414063b - 0.0% (498 Bytes)

[#011] sha256:547f032430ec8eef1dee7172da158a7ef3deb2b6a9541f4e190c42afcd640b96 - 10.43% (14.5 MB)

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

[#013] sha256:a94f7c8b762e849b48ae1997c5738d49dc2a19271b0aa9768ad050ba8556ea1f - 0.0% (264 Bytes)

[#014] sha256:34e9c8ec80d78651171b688fd5866b6cadf7b8a5262f137cab880b3542fa5d9e - 0.0% (902 Bytes)

[#015] sha256:1d4f1663bd68dd662fd19c3b4164d63a95f72cccc25274a7aa536ed8361f04f2 - 0.34% (476 KB)

[#016] sha256:f9d2ac9d0947e2c22f291e5c373f99c98b7b07d59dc19f5733e924ec022d6aef - 7.19% (9.99 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-04-30 20:34:21 UTC

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

2018-04-30 20:34:21 UTC

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

2018-04-30 20:34:56 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-04-30 20:34:56 UTC

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

2018-04-30 20:34:57 UTC

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

2018-04-30 21:04:08 UTC

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

2018-04-30 21:04:08 UTC

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

2018-04-30 21:04:08 UTC

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

2018-04-30 21:04:09 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-04-30 21:04:10 UTC

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

2018-04-30 21:04:11 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-04-30 21:04:11 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-04-30 21:04:12 UTC

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

2018-04-30 21:04:12 UTC

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

2018-04-30 21:04:12 UTC

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

2018-04-30 21:04:12 UTC

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

2018-04-30 21:04:13 UTC

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

2018-04-30 21:04:13 UTC

/bin/sh -c #(nop) ENV GPG_KEYS=1729F83938DA44E27BA0F4D3DBDB397470D12172 B1B44D8F021E4E2D6021E995DC9FF8D3EE5AF27F

2018-04-30 21:04:13 UTC

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

2018-04-30 21:04:13 UTC

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

2018-04-30 21:04:14 UTC

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

2018-04-30 21:04:26 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

2018-04-30 21:04:26 UTC

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

2018-04-30 21:07:20 UTC

/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libargon2-0-dev libcurl4-openssl-dev libedit-dev libsodium-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" --disable-cgi --enable-ftp --enable-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --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-04-30 21:07:21 UTC

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

2018-04-30 21:07:22 UTC

/bin/sh -c docker-php-ext-enable sodium

2018-04-30 21:07:22 UTC

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

2018-04-30 21:07:22 UTC

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

2018-04-30 21:07:23 UTC

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

2018-04-30 21:07:23 UTC

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

2018-04-30 21:07:23 UTC

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

2018-06-21 09:41:11 UTC

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

2018-06-21 09:41:20 UTC

/bin/sh -c set -ex && apt-get update && apt-get install -y --no-install-recommends unzip && rm -r /var/lib/apt/lists/*

2018-06-21 09:41:20 UTC

/bin/sh -c #(nop) ARG SOURCE_URL=https://files.phpmyadmin.net/phpMyAdmin/4.8.1/phpMyAdmin-4.8.1-all-languages.zip

2018-06-21 09:56:36 UTC

|1 SOURCE_URL=https://files.phpmyadmin.net/phpMyAdmin/4.8.1/phpMyAdmin-4.8.1-all-languages.zip /bin/sh -c set -ex && cd /tmp && curl -#SL ${SOURCE_URL} -o /tmp/phpmyadmin.zip && unzip -q /tmp/phpmyadmin.zip && cp -r phpMyAdmin-*/* /var/www/html/ && docker-php-ext-install mbstring mysqli && rm -rf /tmp/*

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