diff --git a/CHANGELOG.md b/CHANGELOG.md index 6768d11..e5f0a95 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. This project [keeps a CHANGELOG](http://keepachangelog.com/) based on the time changes. +## 2019-05-10 + +* PHP 7.4.0-dev + ## 2018-12-06 * PHP 7.3.0 diff --git a/docker/7.4-apache.Dockerfile b/docker/7.4-apache.Dockerfile new file mode 100644 index 0000000..7ae40a5 --- /dev/null +++ b/docker/7.4-apache.Dockerfile @@ -0,0 +1,69 @@ +FROM alpine:3.9 + +ARG BUILD_DATE +ARG VCS_REF + +LABEL org.label-schema.build-date=$BUILD_DATE \ + org.label-schema.vcs-url="https://github.com/phpearth/docker-php.git" \ + org.label-schema.vcs-ref=$VCS_REF \ + org.label-schema.schema-version="1.0" \ + org.label-schema.vendor="PHP.earth" \ + org.label-schema.name="docker-php" \ + org.label-schema.description="Docker For PHP Developers - Docker image with PHP 7.4, Apache, and Alpine" \ + org.label-schema.url="https://github.com/phpearth/docker-php" + +ENV \ + # When using Composer, disable the warning about running commands as root/super user + COMPOSER_ALLOW_SUPERUSER=1 \ + # Persistent runtime dependencies + DEPS="php7.4 \ + php7.4-phar \ + php7.4-bcmath \ + php7.4-calendar \ + php7.4-mbstring \ + php7.4-exif \ + php7.4-ftp \ + php7.4-openssl \ + php7.4-zip \ + php7.4-sysvsem \ + php7.4-sysvshm \ + php7.4-sysvmsg \ + php7.4-shmop \ + php7.4-sockets \ + php7.4-zlib \ + php7.4-bz2 \ + php7.4-curl \ + php7.4-simplexml \ + php7.4-xml \ + php7.4-opcache \ + php7.4-dom \ + php7.4-xmlreader \ + php7.4-xmlwriter \ + php7.4-tokenizer \ + php7.4-ctype \ + php7.4-session \ + php7.4-fileinfo \ + php7.4-iconv \ + php7.4-json \ + php7.4-posix \ + php7.4-apache2 \ + curl \ + ca-certificates \ + runit \ + apache2" + +# PHP.earth Alpine repository for better developer experience +ADD https://repos.php.earth/alpine/phpearth.rsa.pub /etc/apk/keys/phpearth.rsa.pub + +RUN set -x \ + && echo "https://repos.php.earth/alpine/v3.9" >> /etc/apk/repositories \ + && apk add --no-cache $DEPS \ + && mkdir -p /run/apache2 \ + && ln -sf /dev/stdout /var/log/apache2/access.log \ + && ln -sf /dev/stderr /var/log/apache2/error.log + +COPY tags/apache / + +EXPOSE 80 + +CMD ["/sbin/runit-wrapper"] diff --git a/docker/7.4-cgi.Dockerfile b/docker/7.4-cgi.Dockerfile new file mode 100644 index 0000000..852144e --- /dev/null +++ b/docker/7.4-cgi.Dockerfile @@ -0,0 +1,61 @@ +FROM alpine:3.9 + +ARG BUILD_DATE +ARG VCS_REF + +LABEL org.label-schema.build-date=$BUILD_DATE \ + org.label-schema.vcs-url="https://github.com/phpearth/docker-php.git" \ + org.label-schema.vcs-ref=$VCS_REF \ + org.label-schema.schema-version="1.0" \ + org.label-schema.vendor="PHP.earth" \ + org.label-schema.name="docker-php" \ + org.label-schema.description="Docker For PHP Developers - Docker image with PHP CGI 7.4, and Alpine" \ + org.label-schema.url="https://github.com/phpearth/docker-php" + +ENV \ + # When using Composer, disable the warning about running commands as root/super user + COMPOSER_ALLOW_SUPERUSER=1 \ + # Persistent runtime dependencies + DEPS="php7.4 \ + php7.4-phar \ + php7.4-bcmath \ + php7.4-calendar \ + php7.4-mbstring \ + php7.4-exif \ + php7.4-ftp \ + php7.4-openssl \ + php7.4-zip \ + php7.4-sysvsem \ + php7.4-sysvshm \ + php7.4-sysvmsg \ + php7.4-shmop \ + php7.4-sockets \ + php7.4-zlib \ + php7.4-bz2 \ + php7.4-curl \ + php7.4-simplexml \ + php7.4-xml \ + php7.4-opcache \ + php7.4-dom \ + php7.4-xmlreader \ + php7.4-xmlwriter \ + php7.4-tokenizer \ + php7.4-ctype \ + php7.4-session \ + php7.4-fileinfo \ + php7.4-iconv \ + php7.4-json \ + php7.4-posix \ + php7.4-cgi \ + curl \ + ca-certificates \ + runit" + +# PHP.earth Alpine repository for better developer experience +ADD https://repos.php.earth/alpine/phpearth.rsa.pub /etc/apk/keys/phpearth.rsa.pub + +RUN set -x \ + && echo "https://repos.php.earth/alpine/v3.9" >> /etc/apk/repositories \ + && apk add --no-cache $DEPS + +CMD ["php", "-a"] diff --git a/docker/7.4-cli.Dockerfile b/docker/7.4-cli.Dockerfile new file mode 100644 index 0000000..edcde17 --- /dev/null +++ b/docker/7.4-cli.Dockerfile @@ -0,0 +1,59 @@ +FROM alpine:3.9 + +ARG BUILD_DATE +ARG VCS_REF + +LABEL org.label-schema.build-date=$BUILD_DATE \ + org.label-schema.vcs-url="https://github.com/phpearth/docker-php.git" \ + org.label-schema.vcs-ref=$VCS_REF \ + org.label-schema.schema-version="1.0" \ + org.label-schema.vendor="PHP.earth" \ + org.label-schema.name="docker-php" \ + org.label-schema.description="Docker For PHP Developers - Docker image with PHP CLI 7.4, additional PHP extensions, and Alpine" \ + org.label-schema.url="https://github.com/phpearth/docker-php" + +ENV \ + # When using Composer, disable the warning about running commands as root/super user + COMPOSER_ALLOW_SUPERUSER=1 \ + # Persistent runtime dependencies + DEPS="php7.4 \ + php7.4-phar \ + php7.4-bcmath \ + php7.4-calendar \ + php7.4-mbstring \ + php7.4-exif \ + php7.4-ftp \ + php7.4-openssl \ + php7.4-zip \ + php7.4-sysvsem \ + php7.4-sysvshm \ + php7.4-sysvmsg \ + php7.4-shmop \ + php7.4-sockets \ + php7.4-zlib \ + php7.4-bz2 \ + php7.4-curl \ + php7.4-simplexml \ + php7.4-xml \ + php7.4-opcache \ + php7.4-dom \ + php7.4-xmlreader \ + php7.4-xmlwriter \ + php7.4-tokenizer \ + php7.4-ctype \ + php7.4-session \ + php7.4-fileinfo \ + php7.4-iconv \ + php7.4-json \ + php7.4-posix \ + curl \ + ca-certificates" + +# PHP.earth Alpine repository for better developer experience +ADD https://repos.php.earth/alpine/phpearth.rsa.pub /etc/apk/keys/phpearth.rsa.pub + +RUN set -x \ + && echo "https://repos.php.earth/alpine/v3.9" >> /etc/apk/repositories \ + && apk add --no-cache $DEPS + +CMD ["php", "-a"] diff --git a/docker/7.4-lighttpd.Dockerfile b/docker/7.4-lighttpd.Dockerfile new file mode 100644 index 0000000..e9fed12 --- /dev/null +++ b/docker/7.4-lighttpd.Dockerfile @@ -0,0 +1,66 @@ +FROM alpine:3.9 + +ARG BUILD_DATE +ARG VCS_REF + +LABEL org.label-schema.build-date=$BUILD_DATE \ + org.label-schema.vcs-url="https://github.com/phpearth/docker-php.git" \ + org.label-schema.vcs-ref=$VCS_REF \ + org.label-schema.schema-version="1.0" \ + org.label-schema.vendor="PHP.earth" \ + org.label-schema.name="docker-php" \ + org.label-schema.description="Docker For PHP Developers - Docker image with PHP 7.4, Lighttpd, and Alpine" \ + org.label-schema.url="https://github.com/phpearth/docker-php" + +ENV \ + # When using Composer, disable the warning about running commands as root/super user + COMPOSER_ALLOW_SUPERUSER=1 \ + # Persistent runtime dependencies + DEPS="lighttpd \ + php7.4 \ + php7.4-phar \ + php7.4-bcmath \ + php7.4-calendar \ + php7.4-mbstring \ + php7.4-exif \ + php7.4-ftp \ + php7.4-openssl \ + php7.4-zip \ + php7.4-sysvsem \ + php7.4-sysvshm \ + php7.4-sysvmsg \ + php7.4-shmop \ + php7.4-sockets \ + php7.4-zlib \ + php7.4-bz2 \ + php7.4-curl \ + php7.4-simplexml \ + php7.4-xml \ + php7.4-opcache \ + php7.4-dom \ + php7.4-xmlreader \ + php7.4-xmlwriter \ + php7.4-tokenizer \ + php7.4-ctype \ + php7.4-session \ + php7.4-fileinfo \ + php7.4-iconv \ + php7.4-json \ + php7.4-posix \ + php7.4-fpm \ + curl \ + ca-certificates \ + runit" + +# PHP.earth Alpine repository for better developer experience +ADD https://repos.php.earth/alpine/phpearth.rsa.pub /etc/apk/keys/phpearth.rsa.pub + +RUN set -x \ + && echo "https://repos.php.earth/alpine/v3.9" >> /etc/apk/repositories \ + && apk add --no-cache $DEPS + +COPY tags/lighttpd / + +EXPOSE 80 + +CMD ["/sbin/runit-wrapper"] diff --git a/docker/7.4-litespeed.Dockerfile b/docker/7.4-litespeed.Dockerfile new file mode 100644 index 0000000..18daeb2 --- /dev/null +++ b/docker/7.4-litespeed.Dockerfile @@ -0,0 +1,68 @@ +FROM alpine:3.9 + +ARG BUILD_DATE +ARG VCS_REF + +LABEL org.label-schema.build-date=$BUILD_DATE \ + org.label-schema.vcs-url="https://github.com/phpearth/docker-php.git" \ + org.label-schema.vcs-ref=$VCS_REF \ + org.label-schema.schema-version="1.0" \ + org.label-schema.vendor="PHP.earth" \ + org.label-schema.name="docker-php" \ + org.label-schema.description="Docker For PHP Developers - Docker image with PHP 7.4, OpenLiteSpeed, and Alpine" \ + org.label-schema.url="https://github.com/phpearth/docker-php" + +ENV \ + # When using Composer, disable the warning about running commands as root/super user + COMPOSER_ALLOW_SUPERUSER=1 \ + # Persistent runtime dependencies + DEPS="curl \ + ca-certificates \ + runit \ + php7.4 \ + php7.4-phar \ + php7.4-bcmath \ + php7.4-calendar \ + php7.4-mbstring \ + php7.4-exif \ + php7.4-ftp \ + php7.4-openssl \ + php7.4-zip \ + php7.4-sysvsem \ + php7.4-sysvshm \ + php7.4-sysvmsg \ + php7.4-shmop \ + php7.4-sockets \ + php7.4-zlib \ + php7.4-bz2 \ + php7.4-curl \ + php7.4-simplexml \ + php7.4-xml \ + php7.4-opcache \ + php7.4-dom \ + php7.4-xmlreader \ + php7.4-xmlwriter \ + php7.4-tokenizer \ + php7.4-ctype \ + php7.4-session \ + php7.4-fileinfo \ + php7.4-iconv \ + php7.4-json \ + php7.4-posix \ + php7.4-litespeed \ + litespeed" + +# PHP.earth Alpine repository for better developer experience +ADD https://repos.php.earth/alpine/phpearth.rsa.pub /etc/apk/keys/phpearth.rsa.pub + +RUN set -x \ + && echo "https://repos.php.earth/alpine/v3.9" >> /etc/apk/repositories \ + && apk add --no-cache $DEPS \ + && ln -sf /dev/stdout /var/lib/litespeed/logs/access.log \ + && ln -sf /dev/stderr /var/lib/litespeed/logs/error.log + +COPY tags/litespeed / + +EXPOSE 8088 7080 + +CMD ["/sbin/runit-wrapper"] diff --git a/docker/7.4-nginx.Dockerfile b/docker/7.4-nginx.Dockerfile new file mode 100644 index 0000000..f693d9e --- /dev/null +++ b/docker/7.4-nginx.Dockerfile @@ -0,0 +1,69 @@ +FROM alpine:3.9 + +ARG BUILD_DATE +ARG VCS_REF + +LABEL org.label-schema.build-date=$BUILD_DATE \ + org.label-schema.vcs-url="https://github.com/phpearth/docker-php.git" \ + org.label-schema.vcs-ref=$VCS_REF \ + org.label-schema.schema-version="1.0" \ + org.label-schema.vendor="PHP.earth" \ + org.label-schema.name="docker-php" \ + org.label-schema.description="Docker For PHP Developers - Docker image with PHP 7.4, Nginx, and Alpine" \ + org.label-schema.url="https://github.com/phpearth/docker-php" + +ENV \ + # When using Composer, disable the warning about running commands as root/super user + COMPOSER_ALLOW_SUPERUSER=1 \ + # Persistent runtime dependencies + DEPS="nginx \ + nginx-mod-http-headers-more \ + php7.4 \ + php7.4-phar \ + php7.4-bcmath \ + php7.4-calendar \ + php7.4-mbstring \ + php7.4-exif \ + php7.4-ftp \ + php7.4-openssl \ + php7.4-zip \ + php7.4-sysvsem \ + php7.4-sysvshm \ + php7.4-sysvmsg \ + php7.4-shmop \ + php7.4-sockets \ + php7.4-zlib \ + php7.4-bz2 \ + php7.4-curl \ + php7.4-simplexml \ + php7.4-xml \ + php7.4-opcache \ + php7.4-dom \ + php7.4-xmlreader \ + php7.4-xmlwriter \ + php7.4-tokenizer \ + php7.4-ctype \ + php7.4-session \ + php7.4-fileinfo \ + php7.4-iconv \ + php7.4-json \ + php7.4-posix \ + php7.4-fpm \ + curl \ + ca-certificates \ + runit" + +# PHP.earth Alpine repository for better developer experience +ADD https://repos.php.earth/alpine/phpearth.rsa.pub /etc/apk/keys/phpearth.rsa.pub + +RUN set -x \ + && echo "https://repos.php.earth/alpine/v3.9" >> /etc/apk/repositories \ + && apk add --no-cache $DEPS \ + && ln -sf /dev/stdout /var/log/nginx/access.log \ + && ln -sf /dev/stderr /var/log/nginx/error.log + +COPY tags/nginx / + +EXPOSE 80 + +CMD ["/sbin/runit-wrapper"] diff --git a/docker/7.4.Dockerfile b/docker/7.4.Dockerfile new file mode 100644 index 0000000..8fec522 --- /dev/null +++ b/docker/7.4.Dockerfile @@ -0,0 +1,31 @@ +FROM alpine:3.9 + +ARG BUILD_DATE +ARG VCS_REF + +LABEL org.label-schema.build-date=$BUILD_DATE \ + org.label-schema.vcs-url="https://github.com/phpearth/docker-php.git" \ + org.label-schema.vcs-ref=$VCS_REF \ + org.label-schema.schema-version="1.0" \ + org.label-schema.vendor="PHP.earth" \ + org.label-schema.name="docker-php" \ + org.label-schema.description="Docker For PHP Developers - Docker image with PHP CLI 7.4, and Alpine" \ + org.label-schema.url="https://github.com/phpearth/docker-php" + +ENV \ + # When using Composer, disable the warning about running commands as root/super user + COMPOSER_ALLOW_SUPERUSER=1 \ + # Persistent runtime dependencies + DEPS="php7.4 \ + curl \ + ca-certificates" + +# PHP.earth Alpine repository for better developer experience +ADD https://repos.php.earth/alpine/phpearth.rsa.pub /etc/apk/keys/phpearth.rsa.pub + +RUN set -x \ + && echo "https://repos.php.earth/alpine/v3.9" >> /etc/apk/repositories \ + && apk add --no-cache --virtual .build-deps $BUILD_DEPS \ + && apk add --no-cache $DEPS + +CMD ["php", "-a"]