Namespace
library
Image / Tag
httpd:2.4.28-alpine
Content Digest
sha256:20a8a3b9d48aba79e2732e5d60c1728aee1a60a63899c0dabab9efa8636cb61f
Details
Created

2017-10-12 22:02:32 UTC

Size

27.8 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

HTTPD_PREFIX

/usr/local/apache2

HTTPD_SHA256

c1197a3a62a4ab5c584ab89b249af38cf28b4adee9c0106b62999fd29f920666

HTTPD_VERSION

2.4.28

PATH

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


Layers

[#000] sha256:88286f41530e93dffd4b964e1db22ce4939fffa4a4c665dab8591fbab03d4926 - 6.83% (1.9 MB)

[#001] sha256:5eb161ff6d5f07bce6362bac698cb5c92994c2c6c3932ef7a19c8b71b855caa1 - 0.0% (1.22 KB)

[#002] sha256:00d1f55c023a4ab70f6a8138bcf8ea33fcf38d743fa9dbe800a65bd9f20a687e - 0.0% (148 Bytes)

[#003] sha256:4e4579cbb02cd3675c0ef9ff6cf7066b5c1dea4022d1b983082660d854a53d25 - 93.17% (25.9 MB)

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


History
2017-09-13 14:32:25 UTC

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

2017-09-13 14:32:26 UTC

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

2017-09-19 01:11:27 UTC

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

2017-09-19 01:11:27 UTC

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

2017-09-19 01:11:28 UTC

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

2017-09-19 01:11:28 UTC

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

2017-09-19 01:11:28 UTC

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

2017-10-04 22:01:15 UTC

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

2017-10-12 22:00:35 UTC

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

2017-10-12 22:00:36 UTC

/bin/sh -c #(nop) ENV HTTPD_PATCHES=

2017-10-12 22:00:36 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/

2017-10-12 22:02:27 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 libressl libressl-dev libxml2-dev lua-dev make nghttp2-dev pcre-dev tar zlib-dev ; 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 A93D62ECC3C8EA12DB220EC934EA76E6791485A8; 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=reallyall ; 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

2017-10-12 22:02:31 UTC

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

2017-10-12 22:02:32 UTC

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

2017-10-12 22:02:32 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