-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add builds back into image and update README.md (#44)
- Loading branch information
Showing
36 changed files
with
1,108 additions
and
95 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,49 @@ | ||
ARG TAG | ||
|
||
FROM php:$TAG | ||
MAINTAINER Brett Tasker "<brett@silverstripe.com>" | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/bin/install-php-extensions | ||
|
||
# Install default PHP Extensions | ||
RUN install-php-extensions \ | ||
bcmath \ | ||
mysqli \ | ||
pdo \ | ||
pdo_mysql \ | ||
intl \ | ||
ldap \ | ||
gd \ | ||
soap \ | ||
tidy \ | ||
xsl \ | ||
zip \ | ||
exif \ | ||
gmp | ||
|
||
# Pipe errors to stdErr | ||
RUN echo "date.timezone = Pacific/Auckland" > /usr/local/etc/php/conf.d/timezone.ini && \ | ||
echo "log_errors = On\nerror_log = /dev/stderr" > /usr/local/etc/php/conf.d/errors.ini | ||
# Apache configuration | ||
ENV DOCUMENT_ROOT /var/www/html | ||
RUN { \ | ||
echo '<VirtualHost *:80>'; \ | ||
echo ' DocumentRoot ${DOCUMENT_ROOT}'; \ | ||
echo ' LogLevel warn'; \ | ||
echo ' ServerSignature Off'; \ | ||
echo ' <Directory ${ENVVAR}>'; \ | ||
echo ' Options +FollowSymLinks'; \ | ||
echo ' Options -ExecCGI -Includes -Indexes'; \ | ||
echo ' AllowOverride all'; \ | ||
echo; \ | ||
echo ' Require all granted'; \ | ||
echo ' </Directory>'; \ | ||
echo ' <LocationMatch assets/>'; \ | ||
echo ' php_flag engine off'; \ | ||
echo ' </LocationMatch>'; \ | ||
echo; \ | ||
echo ' IncludeOptional sites-available/000-default.local*'; \ | ||
echo '</VirtualHost>'; \ | ||
} | tee /etc/apache2/sites-available/000-default.conf && \ | ||
echo "ServerName localhost" > /etc/apache2/conf-available/fqdn.conf && \ | ||
a2enmod rewrite expires remoteip cgid headers |
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,49 @@ | ||
ARG TAG | ||
|
||
FROM php:$TAG | ||
MAINTAINER Brett Tasker "<brett@silverstripe.com>" | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/bin/install-php-extensions | ||
|
||
# Install default PHP Extensions | ||
RUN install-php-extensions \ | ||
bcmath \ | ||
mysqli \ | ||
pdo \ | ||
pdo_mysql \ | ||
intl \ | ||
ldap \ | ||
gd \ | ||
soap \ | ||
tidy \ | ||
xsl \ | ||
zip \ | ||
exif \ | ||
gmp | ||
|
||
# Pipe errors to stdErr | ||
RUN echo "date.timezone = Pacific/Auckland" > /usr/local/etc/php/conf.d/timezone.ini && \ | ||
echo "log_errors = On\nerror_log = /dev/stderr" > /usr/local/etc/php/conf.d/errors.ini | ||
# Apache configuration | ||
ENV DOCUMENT_ROOT /var/www/html | ||
RUN { \ | ||
echo '<VirtualHost *:80>'; \ | ||
echo ' DocumentRoot ${DOCUMENT_ROOT}'; \ | ||
echo ' LogLevel warn'; \ | ||
echo ' ServerSignature Off'; \ | ||
echo ' <Directory ${ENVVAR}>'; \ | ||
echo ' Options +FollowSymLinks'; \ | ||
echo ' Options -ExecCGI -Includes -Indexes'; \ | ||
echo ' AllowOverride all'; \ | ||
echo; \ | ||
echo ' Require all granted'; \ | ||
echo ' </Directory>'; \ | ||
echo ' <LocationMatch assets/>'; \ | ||
echo ' php_flag engine off'; \ | ||
echo ' </LocationMatch>'; \ | ||
echo; \ | ||
echo ' IncludeOptional sites-available/000-default.local*'; \ | ||
echo '</VirtualHost>'; \ | ||
} | tee /etc/apache2/sites-available/000-default.conf && \ | ||
echo "ServerName localhost" > /etc/apache2/conf-available/fqdn.conf && \ | ||
a2enmod rewrite expires remoteip cgid headers |
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,26 @@ | ||
ARG TAG | ||
|
||
FROM php:$TAG | ||
MAINTAINER Brett Tasker "<brett@silverstripe.com>" | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/bin/install-php-extensions | ||
|
||
# Install default PHP Extensions | ||
RUN install-php-extensions \ | ||
bcmath \ | ||
mysqli \ | ||
pdo \ | ||
pdo_mysql \ | ||
intl \ | ||
ldap \ | ||
gd \ | ||
soap \ | ||
tidy \ | ||
xsl \ | ||
zip \ | ||
exif \ | ||
gmp | ||
|
||
# Pipe errors to stdErr | ||
RUN echo "date.timezone = Pacific/Auckland" > /usr/local/etc/php/conf.d/timezone.ini && \ | ||
echo "log_errors = On\nerror_log = /dev/stderr" > /usr/local/etc/php/conf.d/errors.ini |
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,26 @@ | ||
ARG TAG | ||
|
||
FROM php:$TAG | ||
MAINTAINER Brett Tasker "<brett@silverstripe.com>" | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/bin/install-php-extensions | ||
|
||
# Install default PHP Extensions | ||
RUN install-php-extensions \ | ||
bcmath \ | ||
mysqli \ | ||
pdo \ | ||
pdo_mysql \ | ||
intl \ | ||
ldap \ | ||
gd \ | ||
soap \ | ||
tidy \ | ||
xsl \ | ||
zip \ | ||
exif \ | ||
gmp | ||
|
||
# Pipe errors to stdErr | ||
RUN echo "date.timezone = Pacific/Auckland" > /usr/local/etc/php/conf.d/timezone.ini && \ | ||
echo "log_errors = On\nerror_log = /dev/stderr" > /usr/local/etc/php/conf.d/errors.ini |
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,26 @@ | ||
ARG TAG | ||
|
||
FROM php:$TAG | ||
MAINTAINER Brett Tasker "<brett@silverstripe.com>" | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/bin/install-php-extensions | ||
|
||
# Install default PHP Extensions | ||
RUN install-php-extensions \ | ||
bcmath \ | ||
mysqli \ | ||
pdo \ | ||
pdo_mysql \ | ||
intl \ | ||
ldap \ | ||
gd \ | ||
soap \ | ||
tidy \ | ||
xsl \ | ||
zip \ | ||
exif \ | ||
gmp | ||
|
||
# Pipe errors to stdErr | ||
RUN echo "date.timezone = Pacific/Auckland" > /usr/local/etc/php/conf.d/timezone.ini && \ | ||
echo "log_errors = On\nerror_log = /dev/stderr" > /usr/local/etc/php/conf.d/errors.ini |
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,26 @@ | ||
ARG TAG | ||
|
||
FROM php:$TAG | ||
MAINTAINER Brett Tasker "<brett@silverstripe.com>" | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/bin/install-php-extensions | ||
|
||
# Install default PHP Extensions | ||
RUN install-php-extensions \ | ||
bcmath \ | ||
mysqli \ | ||
pdo \ | ||
pdo_mysql \ | ||
intl \ | ||
ldap \ | ||
gd \ | ||
soap \ | ||
tidy \ | ||
xsl \ | ||
zip \ | ||
exif \ | ||
gmp | ||
|
||
# Pipe errors to stdErr | ||
RUN echo "date.timezone = Pacific/Auckland" > /usr/local/etc/php/conf.d/timezone.ini && \ | ||
echo "log_errors = On\nerror_log = /dev/stderr" > /usr/local/etc/php/conf.d/errors.ini |
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,49 @@ | ||
ARG TAG | ||
|
||
FROM php:$TAG | ||
MAINTAINER Brett Tasker "<brett@silverstripe.com>" | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/bin/install-php-extensions | ||
|
||
# Install default PHP Extensions | ||
RUN install-php-extensions \ | ||
bcmath \ | ||
mysqli \ | ||
pdo \ | ||
pdo_mysql \ | ||
intl \ | ||
ldap \ | ||
gd \ | ||
soap \ | ||
tidy \ | ||
xsl \ | ||
zip \ | ||
exif \ | ||
gmp | ||
|
||
# Pipe errors to stdErr | ||
RUN echo "date.timezone = Pacific/Auckland" > /usr/local/etc/php/conf.d/timezone.ini && \ | ||
echo "log_errors = On\nerror_log = /dev/stderr" > /usr/local/etc/php/conf.d/errors.ini | ||
# Apache configuration | ||
ENV DOCUMENT_ROOT /var/www/html | ||
RUN { \ | ||
echo '<VirtualHost *:80>'; \ | ||
echo ' DocumentRoot ${DOCUMENT_ROOT}'; \ | ||
echo ' LogLevel warn'; \ | ||
echo ' ServerSignature Off'; \ | ||
echo ' <Directory ${ENVVAR}>'; \ | ||
echo ' Options +FollowSymLinks'; \ | ||
echo ' Options -ExecCGI -Includes -Indexes'; \ | ||
echo ' AllowOverride all'; \ | ||
echo; \ | ||
echo ' Require all granted'; \ | ||
echo ' </Directory>'; \ | ||
echo ' <LocationMatch assets/>'; \ | ||
echo ' php_flag engine off'; \ | ||
echo ' </LocationMatch>'; \ | ||
echo; \ | ||
echo ' IncludeOptional sites-available/000-default.local*'; \ | ||
echo '</VirtualHost>'; \ | ||
} | tee /etc/apache2/sites-available/000-default.conf && \ | ||
echo "ServerName localhost" > /etc/apache2/conf-available/fqdn.conf && \ | ||
a2enmod rewrite expires remoteip cgid headers |
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,49 @@ | ||
ARG TAG | ||
|
||
FROM php:$TAG | ||
MAINTAINER Brett Tasker "<brett@silverstripe.com>" | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/bin/install-php-extensions | ||
|
||
# Install default PHP Extensions | ||
RUN install-php-extensions \ | ||
bcmath \ | ||
mysqli \ | ||
pdo \ | ||
pdo_mysql \ | ||
intl \ | ||
ldap \ | ||
gd \ | ||
soap \ | ||
tidy \ | ||
xsl \ | ||
zip \ | ||
exif \ | ||
gmp | ||
|
||
# Pipe errors to stdErr | ||
RUN echo "date.timezone = Pacific/Auckland" > /usr/local/etc/php/conf.d/timezone.ini && \ | ||
echo "log_errors = On\nerror_log = /dev/stderr" > /usr/local/etc/php/conf.d/errors.ini | ||
# Apache configuration | ||
ENV DOCUMENT_ROOT /var/www/html | ||
RUN { \ | ||
echo '<VirtualHost *:80>'; \ | ||
echo ' DocumentRoot ${DOCUMENT_ROOT}'; \ | ||
echo ' LogLevel warn'; \ | ||
echo ' ServerSignature Off'; \ | ||
echo ' <Directory ${ENVVAR}>'; \ | ||
echo ' Options +FollowSymLinks'; \ | ||
echo ' Options -ExecCGI -Includes -Indexes'; \ | ||
echo ' AllowOverride all'; \ | ||
echo; \ | ||
echo ' Require all granted'; \ | ||
echo ' </Directory>'; \ | ||
echo ' <LocationMatch assets/>'; \ | ||
echo ' php_flag engine off'; \ | ||
echo ' </LocationMatch>'; \ | ||
echo; \ | ||
echo ' IncludeOptional sites-available/000-default.local*'; \ | ||
echo '</VirtualHost>'; \ | ||
} | tee /etc/apache2/sites-available/000-default.conf && \ | ||
echo "ServerName localhost" > /etc/apache2/conf-available/fqdn.conf && \ | ||
a2enmod rewrite expires remoteip cgid headers |
Oops, something went wrong.