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

Commit f411512

Browse files
committed
Add PHP 7.4.0-dev images
1 parent 73d787e commit f411512

8 files changed

Lines changed: 427 additions & 0 deletions

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
All notable changes to this project will be documented in this file. This project
44
[keeps a CHANGELOG](http://keepachangelog.com/) based on the time changes.
55

6+
## 2019-05-10
7+
8+
* PHP 7.4.0-dev
9+
610
## 2018-12-06
711

812
* PHP 7.3.0

docker/7.4-apache.Dockerfile

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
FROM alpine:3.9
2+
3+
ARG BUILD_DATE
4+
ARG VCS_REF
5+
6+
LABEL org.label-schema.build-date=$BUILD_DATE \
7+
org.label-schema.vcs-url="https://github.com/phpearth/docker-php.git" \
8+
org.label-schema.vcs-ref=$VCS_REF \
9+
org.label-schema.schema-version="1.0" \
10+
org.label-schema.vendor="PHP.earth" \
11+
org.label-schema.name="docker-php" \
12+
org.label-schema.description="Docker For PHP Developers - Docker image with PHP 7.4, Apache, and Alpine" \
13+
org.label-schema.url="https://github.com/phpearth/docker-php"
14+
15+
ENV \
16+
# When using Composer, disable the warning about running commands as root/super user
17+
COMPOSER_ALLOW_SUPERUSER=1 \
18+
# Persistent runtime dependencies
19+
DEPS="php7.4 \
20+
php7.4-phar \
21+
php7.4-bcmath \
22+
php7.4-calendar \
23+
php7.4-mbstring \
24+
php7.4-exif \
25+
php7.4-ftp \
26+
php7.4-openssl \
27+
php7.4-zip \
28+
php7.4-sysvsem \
29+
php7.4-sysvshm \
30+
php7.4-sysvmsg \
31+
php7.4-shmop \
32+
php7.4-sockets \
33+
php7.4-zlib \
34+
php7.4-bz2 \
35+
php7.4-curl \
36+
php7.4-simplexml \
37+
php7.4-xml \
38+
php7.4-opcache \
39+
php7.4-dom \
40+
php7.4-xmlreader \
41+
php7.4-xmlwriter \
42+
php7.4-tokenizer \
43+
php7.4-ctype \
44+
php7.4-session \
45+
php7.4-fileinfo \
46+
php7.4-iconv \
47+
php7.4-json \
48+
php7.4-posix \
49+
php7.4-apache2 \
50+
curl \
51+
ca-certificates \
52+
runit \
53+
apache2"
54+
55+
# PHP.earth Alpine repository for better developer experience
56+
ADD https://repos.php.earth/alpine/phpearth.rsa.pub /etc/apk/keys/phpearth.rsa.pub
57+
58+
RUN set -x \
59+
&& echo "https://repos.php.earth/alpine/v3.9" >> /etc/apk/repositories \
60+
&& apk add --no-cache $DEPS \
61+
&& mkdir -p /run/apache2 \
62+
&& ln -sf /dev/stdout /var/log/apache2/access.log \
63+
&& ln -sf /dev/stderr /var/log/apache2/error.log
64+
65+
COPY tags/apache /
66+
67+
EXPOSE 80
68+
69+
CMD ["/sbin/runit-wrapper"]

docker/7.4-cgi.Dockerfile

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
FROM alpine:3.9
2+
3+
ARG BUILD_DATE
4+
ARG VCS_REF
5+
6+
LABEL org.label-schema.build-date=$BUILD_DATE \
7+
org.label-schema.vcs-url="https://github.com/phpearth/docker-php.git" \
8+
org.label-schema.vcs-ref=$VCS_REF \
9+
org.label-schema.schema-version="1.0" \
10+
org.label-schema.vendor="PHP.earth" \
11+
org.label-schema.name="docker-php" \
12+
org.label-schema.description="Docker For PHP Developers - Docker image with PHP CGI 7.4, and Alpine" \
13+
org.label-schema.url="https://github.com/phpearth/docker-php"
14+
15+
ENV \
16+
# When using Composer, disable the warning about running commands as root/super user
17+
COMPOSER_ALLOW_SUPERUSER=1 \
18+
# Persistent runtime dependencies
19+
DEPS="php7.4 \
20+
php7.4-phar \
21+
php7.4-bcmath \
22+
php7.4-calendar \
23+
php7.4-mbstring \
24+
php7.4-exif \
25+
php7.4-ftp \
26+
php7.4-openssl \
27+
php7.4-zip \
28+
php7.4-sysvsem \
29+
php7.4-sysvshm \
30+
php7.4-sysvmsg \
31+
php7.4-shmop \
32+
php7.4-sockets \
33+
php7.4-zlib \
34+
php7.4-bz2 \
35+
php7.4-curl \
36+
php7.4-simplexml \
37+
php7.4-xml \
38+
php7.4-opcache \
39+
php7.4-dom \
40+
php7.4-xmlreader \
41+
php7.4-xmlwriter \
42+
php7.4-tokenizer \
43+
php7.4-ctype \
44+
php7.4-session \
45+
php7.4-fileinfo \
46+
php7.4-iconv \
47+
php7.4-json \
48+
php7.4-posix \
49+
php7.4-cgi \
50+
curl \
51+
ca-certificates \
52+
runit"
53+
54+
# PHP.earth Alpine repository for better developer experience
55+
ADD https://repos.php.earth/alpine/phpearth.rsa.pub /etc/apk/keys/phpearth.rsa.pub
56+
57+
RUN set -x \
58+
&& echo "https://repos.php.earth/alpine/v3.9" >> /etc/apk/repositories \
59+
&& apk add --no-cache $DEPS
60+
61+
CMD ["php", "-a"]

docker/7.4-cli.Dockerfile

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
FROM alpine:3.9
2+
3+
ARG BUILD_DATE
4+
ARG VCS_REF
5+
6+
LABEL org.label-schema.build-date=$BUILD_DATE \
7+
org.label-schema.vcs-url="https://github.com/phpearth/docker-php.git" \
8+
org.label-schema.vcs-ref=$VCS_REF \
9+
org.label-schema.schema-version="1.0" \
10+
org.label-schema.vendor="PHP.earth" \
11+
org.label-schema.name="docker-php" \
12+
org.label-schema.description="Docker For PHP Developers - Docker image with PHP CLI 7.4, additional PHP extensions, and Alpine" \
13+
org.label-schema.url="https://github.com/phpearth/docker-php"
14+
15+
ENV \
16+
# When using Composer, disable the warning about running commands as root/super user
17+
COMPOSER_ALLOW_SUPERUSER=1 \
18+
# Persistent runtime dependencies
19+
DEPS="php7.4 \
20+
php7.4-phar \
21+
php7.4-bcmath \
22+
php7.4-calendar \
23+
php7.4-mbstring \
24+
php7.4-exif \
25+
php7.4-ftp \
26+
php7.4-openssl \
27+
php7.4-zip \
28+
php7.4-sysvsem \
29+
php7.4-sysvshm \
30+
php7.4-sysvmsg \
31+
php7.4-shmop \
32+
php7.4-sockets \
33+
php7.4-zlib \
34+
php7.4-bz2 \
35+
php7.4-curl \
36+
php7.4-simplexml \
37+
php7.4-xml \
38+
php7.4-opcache \
39+
php7.4-dom \
40+
php7.4-xmlreader \
41+
php7.4-xmlwriter \
42+
php7.4-tokenizer \
43+
php7.4-ctype \
44+
php7.4-session \
45+
php7.4-fileinfo \
46+
php7.4-iconv \
47+
php7.4-json \
48+
php7.4-posix \
49+
curl \
50+
ca-certificates"
51+
52+
# PHP.earth Alpine repository for better developer experience
53+
ADD https://repos.php.earth/alpine/phpearth.rsa.pub /etc/apk/keys/phpearth.rsa.pub
54+
55+
RUN set -x \
56+
&& echo "https://repos.php.earth/alpine/v3.9" >> /etc/apk/repositories \
57+
&& apk add --no-cache $DEPS
58+
59+
CMD ["php", "-a"]

docker/7.4-lighttpd.Dockerfile

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
FROM alpine:3.9
2+
3+
ARG BUILD_DATE
4+
ARG VCS_REF
5+
6+
LABEL org.label-schema.build-date=$BUILD_DATE \
7+
org.label-schema.vcs-url="https://github.com/phpearth/docker-php.git" \
8+
org.label-schema.vcs-ref=$VCS_REF \
9+
org.label-schema.schema-version="1.0" \
10+
org.label-schema.vendor="PHP.earth" \
11+
org.label-schema.name="docker-php" \
12+
org.label-schema.description="Docker For PHP Developers - Docker image with PHP 7.4, Lighttpd, and Alpine" \
13+
org.label-schema.url="https://github.com/phpearth/docker-php"
14+
15+
ENV \
16+
# When using Composer, disable the warning about running commands as root/super user
17+
COMPOSER_ALLOW_SUPERUSER=1 \
18+
# Persistent runtime dependencies
19+
DEPS="lighttpd \
20+
php7.4 \
21+
php7.4-phar \
22+
php7.4-bcmath \
23+
php7.4-calendar \
24+
php7.4-mbstring \
25+
php7.4-exif \
26+
php7.4-ftp \
27+
php7.4-openssl \
28+
php7.4-zip \
29+
php7.4-sysvsem \
30+
php7.4-sysvshm \
31+
php7.4-sysvmsg \
32+
php7.4-shmop \
33+
php7.4-sockets \
34+
php7.4-zlib \
35+
php7.4-bz2 \
36+
php7.4-curl \
37+
php7.4-simplexml \
38+
php7.4-xml \
39+
php7.4-opcache \
40+
php7.4-dom \
41+
php7.4-xmlreader \
42+
php7.4-xmlwriter \
43+
php7.4-tokenizer \
44+
php7.4-ctype \
45+
php7.4-session \
46+
php7.4-fileinfo \
47+
php7.4-iconv \
48+
php7.4-json \
49+
php7.4-posix \
50+
php7.4-fpm \
51+
curl \
52+
ca-certificates \
53+
runit"
54+
55+
# PHP.earth Alpine repository for better developer experience
56+
ADD https://repos.php.earth/alpine/phpearth.rsa.pub /etc/apk/keys/phpearth.rsa.pub
57+
58+
RUN set -x \
59+
&& echo "https://repos.php.earth/alpine/v3.9" >> /etc/apk/repositories \
60+
&& apk add --no-cache $DEPS
61+
62+
COPY tags/lighttpd /
63+
64+
EXPOSE 80
65+
66+
CMD ["/sbin/runit-wrapper"]

docker/7.4-litespeed.Dockerfile

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
FROM alpine:3.9
2+
3+
ARG BUILD_DATE
4+
ARG VCS_REF
5+
6+
LABEL org.label-schema.build-date=$BUILD_DATE \
7+
org.label-schema.vcs-url="https://github.com/phpearth/docker-php.git" \
8+
org.label-schema.vcs-ref=$VCS_REF \
9+
org.label-schema.schema-version="1.0" \
10+
org.label-schema.vendor="PHP.earth" \
11+
org.label-schema.name="docker-php" \
12+
org.label-schema.description="Docker For PHP Developers - Docker image with PHP 7.4, OpenLiteSpeed, and Alpine" \
13+
org.label-schema.url="https://github.com/phpearth/docker-php"
14+
15+
ENV \
16+
# When using Composer, disable the warning about running commands as root/super user
17+
COMPOSER_ALLOW_SUPERUSER=1 \
18+
# Persistent runtime dependencies
19+
DEPS="curl \
20+
ca-certificates \
21+
runit \
22+
php7.4 \
23+
php7.4-phar \
24+
php7.4-bcmath \
25+
php7.4-calendar \
26+
php7.4-mbstring \
27+
php7.4-exif \
28+
php7.4-ftp \
29+
php7.4-openssl \
30+
php7.4-zip \
31+
php7.4-sysvsem \
32+
php7.4-sysvshm \
33+
php7.4-sysvmsg \
34+
php7.4-shmop \
35+
php7.4-sockets \
36+
php7.4-zlib \
37+
php7.4-bz2 \
38+
php7.4-curl \
39+
php7.4-simplexml \
40+
php7.4-xml \
41+
php7.4-opcache \
42+
php7.4-dom \
43+
php7.4-xmlreader \
44+
php7.4-xmlwriter \
45+
php7.4-tokenizer \
46+
php7.4-ctype \
47+
php7.4-session \
48+
php7.4-fileinfo \
49+
php7.4-iconv \
50+
php7.4-json \
51+
php7.4-posix \
52+
php7.4-litespeed \
53+
litespeed"
54+
55+
# PHP.earth Alpine repository for better developer experience
56+
ADD https://repos.php.earth/alpine/phpearth.rsa.pub /etc/apk/keys/phpearth.rsa.pub
57+
58+
RUN set -x \
59+
&& echo "https://repos.php.earth/alpine/v3.9" >> /etc/apk/repositories \
60+
&& apk add --no-cache $DEPS \
61+
&& ln -sf /dev/stdout /var/lib/litespeed/logs/access.log \
62+
&& ln -sf /dev/stderr /var/lib/litespeed/logs/error.log
63+
64+
COPY tags/litespeed /
65+
66+
EXPOSE 8088 7080
67+
68+
CMD ["/sbin/runit-wrapper"]

0 commit comments

Comments
 (0)