Skip to content
This repository was archived by the owner on Mar 24, 2022. It is now read-only.

Commit

Permalink
Add PHP 7.4.0-dev images
Browse files Browse the repository at this point in the history
  • Loading branch information
petk committed May 10, 2019
1 parent 73d787e commit f411512
Show file tree
Hide file tree
Showing 8 changed files with 427 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
69 changes: 69 additions & 0 deletions docker/7.4-apache.Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]
61 changes: 61 additions & 0 deletions docker/7.4-cgi.Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]
59 changes: 59 additions & 0 deletions docker/7.4-cli.Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]
66 changes: 66 additions & 0 deletions docker/7.4-lighttpd.Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]
68 changes: 68 additions & 0 deletions docker/7.4-litespeed.Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]
Loading

0 comments on commit f411512

Please sign in to comment.