Namespace
library
Image / Tag
httpd:2.2-alpine
Content Digest
sha256:b2dbea238e355c3a45eb54f2aa4a288b34caa21e0976e6779b6bc85a1fea1097
Details
Created

2018-01-19 02:00:11 UTC

Size

23.3 MB

Content Digest
Environment
APACHE_DIST_URLS

https://www.apache.org/dyn/closer.cgi?action=download&filename= https://www-us.apache.org/dist/ https://www.apache.org/dist/ https://archive.apache.org/dist/

HTTPD_PATCHES

CVE-2017-9798-patch-2.2.patch 42c610f8a8f8d4d08664db6d9857120c2c252c9b388d56f238718854e6013e46 2.2.x-mod_proxy-without-APR_HAS_THREADS.patch beb66a79a239f7e898311c5ed6a38c070c641ec56706a295b7e5caf3c55a7296

HTTPD_PREFIX

/usr/local/apache2

HTTPD_SHA256

e53183d5dfac5740d768b4c9bea193b1099f4b06b57e5f28d7caaf9ea7498160

HTTPD_VERSION

2.2.34

PATH

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


Layers

[#000] sha256:81033e7c1d6a5b44a94bb6b40033a6e589f50fd6b61578da6fc809e61f83898d - 9.78% (2.28 MB)

[#001] sha256:6f6d59fda45225edd368b2ddbedb46a2f17d55b814578510c91d40bfa8942144 - 0.01% (1.24 KB)

[#002] sha256:32de90bb22f930568197e619f9f369f2ac602641569463e03c4303b82367c2f9 - 0.0% (144 Bytes)

[#003] sha256:0c0bc8bcc27a9cf7da1ab96930fe972524765584e525cb0e6e1a2ddf5924cb40 - 90.21% (21 MB)

[#004] sha256:214fe388c54051e04220ebc0576f96663169e88f0f2b0be539e86ff317a4d60f - 0.0% (292 Bytes)


History
2018-01-09 21:12:40 UTC

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

2018-01-09 21:12:40 UTC

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

2018-01-09 22:02:19 UTC

/bin/sh -c set -x && addgroup -g 82 -S www-data && adduser -u 82 -D -S -G www-data www-data

2018-01-09 22:02:19 UTC

/bin/sh -c #(nop) ENV HTTPD_PREFIX=/usr/local/apache2

2018-01-09 22:02:19 UTC

/bin/sh -c #(nop) ENV PATH=/usr/local/apache2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2018-01-09 22:02:20 UTC

/bin/sh -c mkdir -p "$HTTPD_PREFIX" && chown www-data:www-data "$HTTPD_PREFIX"

2018-01-09 22:02:20 UTC

/bin/sh -c #(nop) WORKDIR /usr/local/apache2

2018-01-09 22:02:20 UTC

/bin/sh -c #(nop) ENV HTTPD_VERSION=2.2.34

2018-01-09 22:02:21 UTC

/bin/sh -c #(nop) ENV HTTPD_SHA256=e53183d5dfac5740d768b4c9bea193b1099f4b06b57e5f28d7caaf9ea7498160

2018-01-18 23:20:32 UTC

/bin/sh -c #(nop) ENV HTTPD_PATCHES=CVE-2017-9798-patch-2.2.patch 42c610f8a8f8d4d08664db6d9857120c2c252c9b388d56f238718854e6013e46 2.2.x-mod_proxy-without-APR_HAS_THREADS.patch beb66a79a239f7e898311c5ed6a38c070c641ec56706a295b7e5caf3c55a7296

2018-01-18 23:20:33 UTC

/bin/sh -c #(nop) ENV APACHE_DIST_URLS=https://www.apache.org/dyn/closer.cgi?action=download&filename= https://www-us.apache.org/dist/ https://www.apache.org/dist/ https://archive.apache.org/dist/

2018-01-19 02:00:06 UTC

/bin/sh -c set -eux; runDeps=' apr-dev apr-util-dev apr-util-ldap perl '; apk add --no-cache --virtual .build-deps $runDeps ca-certificates coreutils dpkg-dev dpkg gcc gnupg libc-dev make openssl openssl-dev pcre-dev tar wget ; ddist() { local f="$1"; shift; local distFile="$1"; shift; local success=; local distUrl=; for distUrl in $APACHE_DIST_URLS; do if wget -O "$f" "$distUrl$distFile"; then success=1; break; fi; done; [ -n "$success" ]; }; ddist 'httpd.tar.bz2' "httpd/httpd-$HTTPD_VERSION.tar.bz2"; echo "$HTTPD_SHA256 *httpd.tar.bz2" | sha256sum -c -; ddist 'httpd.tar.bz2.asc' "httpd/httpd-$HTTPD_VERSION.tar.bz2.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --keyserver ha.pool.sks-keyservers.net --recv-keys B1B96F45DFBDCCF974019235193F180AB55D9977; gpg --batch --verify httpd.tar.bz2.asc httpd.tar.bz2; rm -rf "$GNUPGHOME" httpd.tar.bz2.asc; mkdir -p src; tar -xf httpd.tar.bz2 -C src --strip-components=1; rm httpd.tar.bz2; cd src; patches() { while [ "$#" -gt 0 ]; do local patchFile="$1"; shift; local patchSha256="$1"; shift; ddist "$patchFile" "httpd/patches/apply_to_$HTTPD_VERSION/$patchFile"; echo "$patchSha256 *$patchFile" | sha256sum -c -; patch -p0 < "$patchFile"; rm -f "$patchFile"; done; }; patches $HTTPD_PATCHES; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; ./configure --build="$gnuArch" --prefix="$HTTPD_PREFIX" --enable-mods-shared='all ssl ldap cache proxy authn_alias mem_cache file_cache authnz_ldap charset_lite dav_lock disk_cache' ; make -j "$(nproc)"; make install; cd ..; rm -r src man manual; sed -ri -e 's!^(\s*CustomLog)\s+\S+!\1 /proc/self/fd/1!g' -e 's!^(\s*ErrorLog)\s+\S+!\1 /proc/self/fd/2!g' "$HTTPD_PREFIX/conf/httpd.conf"; runDeps="$runDeps $( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --virtual .httpd-rundeps $runDeps; apk del .build-deps

2018-01-19 02:00:10 UTC

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

2018-01-19 02:00:11 UTC

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

2018-01-19 02:00:11 UTC

/bin/sh -c #(nop) CMD ["httpd-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