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
10 changed files
with
487 additions
and
29 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
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.7 | ||
|
||
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.3, 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.3 \ | ||
php7.3-phar \ | ||
php7.3-bcmath \ | ||
php7.3-calendar \ | ||
php7.3-mbstring \ | ||
php7.3-exif \ | ||
php7.3-ftp \ | ||
php7.3-openssl \ | ||
php7.3-zip \ | ||
php7.3-sysvsem \ | ||
php7.3-sysvshm \ | ||
php7.3-sysvmsg \ | ||
php7.3-shmop \ | ||
php7.3-sockets \ | ||
php7.3-zlib \ | ||
php7.3-bz2 \ | ||
php7.3-curl \ | ||
php7.3-simplexml \ | ||
php7.3-xml \ | ||
php7.3-opcache \ | ||
php7.3-dom \ | ||
php7.3-xmlreader \ | ||
php7.3-xmlwriter \ | ||
php7.3-tokenizer \ | ||
php7.3-ctype \ | ||
php7.3-session \ | ||
php7.3-fileinfo \ | ||
php7.3-iconv \ | ||
php7.3-json \ | ||
php7.3-posix \ | ||
php7.3-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.7" >> /etc/apk/repositories \ | ||
&& apk add --no-cache $DEPS \ | ||
&& mkdir /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"] |
Oops, something went wrong.