2018-12-14 15:14:34 UTC
30.7 MB
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_SHA2563498dc5c6772fac2eb7307dc7963122ffe243b5e806e0be4fb51974ff759d726
HTTPD_VERSION2.4.37
PATH/usr/local/apache2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:4fe2ade4980c2dda4fc95858ebb981489baec8c1e4bd282ab1c3560be8ff9bde - 6.86% (2.1 MB)
[#001] sha256:42101a4e4c4e87a675d887d6ae4d470a2ac9e1a944641f6be9e6deaa94d9bd3e - 0.0% (1.22 KB)
[#002] sha256:73eadb9961ffcaea4b38b93d524510b20b1f2ca02632019b4d8f03db3a7a380c - 0.0% (147 Bytes)
[#003] sha256:830983fb5ec2bff731ddde5c140ed82347f121b2db486d769a8679bcf97d3d64 - 87.97% (27 MB)
[#004] sha256:78fb51bbfc274598464d48a6e867d19363e2deda93e1db1c26b5bd00e2036598 - 0.0% (293 Bytes)
[#005] sha256:a39c1a5fbc6f6fef2bf9ea8168fa8da44b4c2505f3e59692cfd717cd570d5636 - 0.0% (1.14 KB)
[#006] sha256:1f4c3ea2abf9e947059e2ca985bce633257a491cf03520cfdea8deed15bb18c2 - 5.16% (1.58 MB)
[#007] sha256:ce5492a1029f017d4dc9b768e62427913e2ffa0ef674e2c604da3e5ebfdc17f0 - 0.0% (1.56 KB)
/bin/sh -c #(nop) ADD file:25c10b1d1b41d46a1827ad0b0d2389c24df6d31430005ff4e9a2d84ea23ebd42 in /
2018-09-11 22:19:50 UTC/bin/sh -c #(nop) CMD ["/bin/sh"]
2018-10-26 20:20:02 UTC/bin/sh -c set -x && addgroup -g 82 -S www-data && adduser -u 82 -D -S -G www-data www-data
2018-10-26 20:20:02 UTC/bin/sh -c #(nop) ENV HTTPD_PREFIX=/usr/local/apache2
2018-10-26 20:20:02 UTC/bin/sh -c #(nop) ENV PATH=/usr/local/apache2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2018-10-26 20:20:03 UTC/bin/sh -c mkdir -p "$HTTPD_PREFIX" && chown www-data:www-data "$HTTPD_PREFIX"
2018-10-26 20:20:03 UTC/bin/sh -c #(nop) WORKDIR /usr/local/apache2
2018-10-26 20:20:03 UTC/bin/sh -c #(nop) ENV HTTPD_VERSION=2.4.37
2018-10-26 20:20:03 UTC/bin/sh -c #(nop) ENV HTTPD_SHA256=3498dc5c6772fac2eb7307dc7963122ffe243b5e806e0be4fb51974ff759d726
2018-10-26 20:20:04 UTC/bin/sh -c #(nop) ENV HTTPD_PATCHES=
2018-10-26 20:20:04 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-11-15 23:58:00 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" && [ -s "$f" ]; 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)"; for key in A93D62ECC3C8EA12DB220EC934EA76E6791485A8 B9E8213AEFB861AF35A41F2C995E35221AD84DFF ; do gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; done; gpg --batch --verify httpd.tar.bz2.asc httpd.tar.bz2; command -v gpgconf && gpgconf --kill all || :; 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 --enable-mpms-shared=all ; 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; httpd -v
2018-11-15 23:58:01 UTC/bin/sh -c #(nop) COPY file:761e313354b918b6cd7ea99975a4f6b53ff5381ba689bab2984aec4dab597215 in /usr/local/bin/
2018-11-15 23:58:02 UTC/bin/sh -c #(nop) EXPOSE 80/tcp
2018-11-15 23:58:02 UTC/bin/sh -c #(nop) CMD ["httpd-foreground"]
2018-12-14 15:14:29 UTC/bin/sh -c #(nop) COPY dir:ec6dfbfaabbcf46d8d472fb95e7b740bfe4eaff6ea73483dbeeb06ae48a53127 in conf/
2018-12-14 15:14:32 UTC/bin/sh -c set -ex; mkdir -p "/var/www/html"; mkdir -p "/var/lib/dav/data"; touch "/var/lib/dav/DavLock"; chown -R www-data:www-data "/var/lib/dav"; for i in dav dav_fs; do sed -i -e "/^#LoadModule ${i}_module.*/s/^#//" "conf/httpd.conf"; done; for i in authn_core authn_file authz_core authz_user auth_basic auth_digest; do sed -i -e "/^#LoadModule ${i}_module.*/s/^#//" "conf/httpd.conf"; done; for i in alias headers mime setenvif; do sed -i -e "/^#LoadModule ${i}_module.*/s/^#//" "conf/httpd.conf"; done; for i in User Group; do sed -i -e "s|^$i .*|$i www-data|" "conf/httpd.conf"; done; printf '%s\n' "Include conf/conf-enabled/*.conf" >> "conf/httpd.conf"; printf '%s\n' "Include conf/sites-enabled/*.conf" >> "conf/httpd.conf"; mkdir -p "conf/conf-enabled"; mkdir -p "conf/sites-enabled"; ln -s ../conf-available/dav.conf "conf/conf-enabled"; ln -s ../sites-available/default.conf "conf/sites-enabled"; apk add --no-cache openssl
2018-12-14 15:14:33 UTC/bin/sh -c #(nop) COPY file:097d2003c1d156d466a8041f728111f7746f915df856152c5126dcc375f443fd in /usr/local/bin/docker-entrypoint.sh
2018-12-14 15:14:33 UTC/bin/sh -c #(nop) EXPOSE 443/tcp 80/tcp
2018-12-14 15:14:34 UTC/bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
2018-12-14 15:14:34 UTC/bin/sh -c #(nop) CMD ["httpd-foreground"]
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.