This repository was archived by the owner on Mar 24, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
427 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |
Oops, something went wrong.