Tag

grav:latest
Content Digest: sha256:879da262669b75e995f96bac9bcf49b6490c649704931cfdb6d794b8333b4b2b
Manifests
Details
Content Digest

sha256:7c31a51d0815d5e9801c02af597ba5346f9e33a4a0b2e248ae6fc312d034a25f

Created

2021-06-08 13:33:19 UTC

Size

199 MB


Labels
  • maintainer
    Andy Miller <rhuk@getgrav.org> (@rhukster)

Environment
APACHE_CONFDIR

/etc/apache2

APACHE_ENVVARS

/etc/apache2/envvars

GPG_KEYS

42670A7FE4D0441C8E4632349E4FDC074A4EF02D 5A52880781F755608BF815FC910DEB46F53EA312

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://www.php.net/distributions/php-7.4.20.tar.xz.asc

PHP_CFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

PHP_CPPFLAGS

-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

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 -pie

PHP_SHA256

1fa46ca6790d780bf2cb48961df65f0ca3640c4533f0bca743cd61b71cb66335

PHP_URL

https://www.php.net/distributions/php-7.4.20.tar.xz

PHP_VERSION

7.4.20


Layers

[#000] sha256:69692152171afee1fd341febc390747cfca2ff302f2881d8b394e786af605696 - 12.99% (25.9 MB)

[#001] sha256:2040822db3250a09a3fee8c4e36a2a87d925b04776a46ea33dd94c111d5af366 - 0.0% (227 Bytes)

[#002] sha256:9b4ca5ae9dfad3ef8929b7c016d54518c9d29b6da520c7728e17885936824da8 - 36.68% (73.1 MB)

[#003] sha256:ac1fe7c6d9669614ca12d3a7e70ba5aa1a348b8620e251245d7dbf01f8b927b8 - 0.0% (266 Bytes)

[#004] sha256:5b26fc9ce030104e3ed1dc2b6231067d9eaa629b129a71c9bc21aed211beb9dd - 8.94% (17.8 MB)

[#005] sha256:3492f4769444367000d2c12c6b1482630c1a6df69440fa64ee6d34e6ce93f2ae - 0.0% (474 Bytes)

[#006] sha256:1dec05775a74fc3e3e317e71f6b606242142211e697a35c9dcfcef9ea4887113 - 0.0% (512 Bytes)

[#007] sha256:77107a42338e317f4e7f615781151c093ea1d1ce6b546c01f998ddb23428d80b - 5.11% (10.2 MB)

[#008] sha256:f58e4093c52a90c69bc4dbb5b52b9d72c8708bbdd4e399c832825675cfe8990b - 0.0% (494 Bytes)

[#009] sha256:d32715f578d3551449631d4adad0318ec0f488cf038529ba9f14f3be3edc8724 - 6.62% (13.2 MB)

[#010] sha256:7a73fb2558cefc3be8d537b1e286e38677182e59a5b3378f736c93c46c811c40 - 0.0% (2.22 KB)

[#011] sha256:667b573fcff78ef690b873a96185645530203561e6a74a472960a8cd10b7cf2e - 0.0% (246 Bytes)

[#012] sha256:75e2da936ffe1248e4bc536a028df1d858387a7d4d491f3c2ef81f2df1be8e4e - 0.0% (897 Bytes)

[#013] sha256:ec2e1c09c3c0567e4f6a4522c158e5ce538c65ec67e75865d36ee9be8a177936 - 0.0% (1.44 KB)

[#014] sha256:02b07aa76ae83ed691444e16479610a15a317aeb43f48d3e882491edad6fbf59 - 21.71% (43.3 MB)

[#015] sha256:f5d7c9f8405b38ff3366eb1418a82c26a34d65dc075501580b113342d4b5e544 - 0.0% (378 Bytes)

[#016] sha256:993aca02bcd3a3f102dcb1ef8e644262cde0cd7ece552bf7ed385b6c58559b17 - 0.31% (634 KB)

[#017] sha256:7c15014cb56d4892a48c6a95ab8ed598e379a3c5dfe48bb764998ac23aa669a4 - 0.0% (132 Bytes)

[#018] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#019] sha256:9e83d5d0407f821a5a3f9ddcfae5f8d05602336cfa36bae26c6a924b63ea5f33 - 7.64% (15.2 MB)

[#020] sha256:9407eb4a9ba2ce73a3bebee380171bf2a87c392461233afb44fac5b71c2215d9 - 0.0% (419 Bytes)


History
2021-05-12 01:21:22 UTC

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

2021-05-12 01:21:22 UTC

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

2021-05-12 12:42:52 UTC

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

2021-05-12 12:42:52 UTC

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

2021-05-12 12:43:10 UTC

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

2021-05-12 12:43:10 UTC

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

2021-05-12 12:43:12 UTC

/bin/sh -c set -eux; mkdir -p "$PHP_INI_DIR/conf.d"; [ ! -d /var/www/html ]; mkdir -p /var/www/html; chown www-data:www-data /var/www/html; chmod 777 /var/www/html

2021-05-12 12:48:19 UTC

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

2021-05-12 12:48:19 UTC

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

2021-05-12 12:48:29 UTC

/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends apache2; rm -rf /var/lib/apt/lists/*; sed -ri 's/^export ([^=]+)=(.*)$/: ${\1:=\2}\nexport \1/' "$APACHE_ENVVARS"; . "$APACHE_ENVVARS"; for dir in "$APACHE_LOCK_DIR" "$APACHE_RUN_DIR" "$APACHE_LOG_DIR" ; do rm -rvf "$dir"; mkdir -p "$dir"; chown "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$dir"; chmod 777 "$dir"; done; rm -rvf /var/www/html/*; 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"; chown -R --no-dereference "$APACHE_RUN_USER:$APACHE_RUN_GROUP" "$APACHE_LOG_DIR"

2021-05-12 12:48:30 UTC

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

2021-05-12 12:48:32 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

2021-05-12 12:48:32 UTC

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

2021-05-12 12:48:32 UTC

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

2021-05-12 12:48:32 UTC

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

2021-05-12 12:48:33 UTC

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

2021-05-12 12:48:33 UTC

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

2021-05-12 13:11:57 UTC

/bin/sh -c #(nop) ENV GPG_KEYS=42670A7FE4D0441C8E4632349E4FDC074A4EF02D 5A52880781F755608BF815FC910DEB46F53EA312

2021-06-03 21:45:52 UTC

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

2021-06-03 21:45:52 UTC

/bin/sh -c #(nop) ENV PHP_URL=https://www.php.net/distributions/php-7.4.20.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-7.4.20.tar.xz.asc

2021-06-03 21:45:52 UTC

/bin/sh -c #(nop) ENV PHP_SHA256=1fa46ca6790d780bf2cb48961df65f0ca3640c4533f0bca743cd61b71cb66335

2021-06-03 21:46:03 UTC

/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends gnupg dirmngr; rm -rf /var/lib/apt/lists/*; mkdir -p /usr/src; cd /usr/src; curl -fsSL -o php.tar.xz "$PHP_URL"; if [ -n "$PHP_SHA256" ]; then echo "$PHP_SHA256 *php.tar.xz" | sha256sum -c -; fi; if [ -n "$PHP_ASC_URL" ]; then curl -fsSL -o php.tar.xz.asc "$PHP_ASC_URL"; export GNUPGHOME="$(mktemp -d)"; for key in $GPG_KEYS; do gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; done; gpg --batch --verify php.tar.xz.asc php.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME"; fi; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false

2021-06-03 21:46:03 UTC

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

2021-06-03 21:50:15 UTC

/bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libargon2-dev libcurl4-openssl-dev libedit-dev libonig-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" --enable-option-checking=fatal --with-mhash --with-pic --enable-ftp --enable-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-libedit --with-openssl --with-zlib --with-pear $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') --with-libdir="lib/$debMultiarch" ${PHP_EXTRA_CONFIGURE_ARGS:-} ; make -j "$(nproc)"; find -type f -name '*.a' -delete; make install; find /usr/local/bin /usr/local/sbin -type f -executable -exec strip --strip-all '{}' + || true; make clean; cp -v php.ini-* "$PHP_INI_DIR/"; 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; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version

2021-06-03 21:50:15 UTC

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

2021-06-03 21:50:17 UTC

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

2021-06-03 21:50:17 UTC

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

2021-06-03 21:50:17 UTC

/bin/sh -c #(nop) STOPSIGNAL SIGWINCH

2021-06-03 21:50:17 UTC

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

2021-06-03 21:50:17 UTC

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

2021-06-03 21:50:18 UTC

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

2021-06-03 21:50:18 UTC

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

2021-06-08 13:31:45 UTC (buildkit.dockerfile.v0)

LABEL maintainer=Andy Miller <rhuk@getgrav.org> (@rhukster)

2021-06-08 13:31:45 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c a2enmod rewrite expires && sed -i 's/ServerTokens OS/ServerTokens ProductOnly/g' /etc/apache2/conf-available/security.conf # buildkit

2021-06-08 13:32:58 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends unzip libfreetype6-dev libjpeg62-turbo-dev libpng-dev libyaml-dev libzip4 libzip-dev zlib1g-dev libicu-dev g++ git cron vim && docker-php-ext-install opcache && docker-php-ext-configure intl && docker-php-ext-install intl && docker-php-ext-configure gd --with-freetype --with-jpeg && docker-php-ext-install -j$(nproc) gd && docker-php-ext-install zip && rm -rf /var/lib/apt/lists/* # buildkit

2021-06-08 13:32:58 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c { echo 'opcache.memory_consumption=128'; echo 'opcache.interned_strings_buffer=8'; echo 'opcache.max_accelerated_files=4000'; echo 'opcache.revalidate_freq=2'; echo 'opcache.fast_shutdown=1'; echo 'opcache.enable_cli=1'; echo 'upload_max_filesize=128M'; echo 'post_max_size=128M'; echo 'expose_php=off'; } > /usr/local/etc/php/conf.d/php-recommended.ini # buildkit

2021-06-08 13:33:15 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c pecl install apcu && pecl install yaml-2.0.4 && docker-php-ext-enable apcu yaml # buildkit

2021-06-08 13:33:15 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c chown www-data:www-data /var/www # buildkit

2021-06-08 13:33:15 UTC (buildkit.dockerfile.v0)

USER www-data

2021-06-08 13:33:15 UTC (buildkit.dockerfile.v0)

ARG GRAV_VERSION=latest

2021-06-08 13:33:15 UTC (buildkit.dockerfile.v0)

WORKDIR /var/www

2021-06-08 13:33:19 UTC (buildkit.dockerfile.v0)

RUN |1 GRAV_VERSION=latest /bin/sh -c curl -o grav-admin.zip -SL https://getgrav.org/download/core/grav-admin/${GRAV_VERSION} && unzip grav-admin.zip && mv -T /var/www/grav-admin /var/www/html && rm grav-admin.zip # buildkit

2021-06-08 13:33:19 UTC (buildkit.dockerfile.v0)

RUN |1 GRAV_VERSION=latest /bin/sh -c (crontab -l; echo "* * * * * cd /var/www/html;/usr/local/bin/php bin/grav scheduler 1>> /dev/null 2>&1") | crontab - # buildkit

2021-06-08 13:33:19 UTC (buildkit.dockerfile.v0)

USER root

2021-06-08 13:33:19 UTC (buildkit.dockerfile.v0)

VOLUME [/var/www/html]

2021-06-08 13:33:19 UTC (buildkit.dockerfile.v0)

CMD ["sh" "-c" "cron && apache2-foreground"]