-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add travis support * Install php fpm 7.0
- Loading branch information
Showing
28 changed files
with
52 additions
and
42 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.build-harness |
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,20 @@ | ||
sudo: required | ||
addons: | ||
apt: | ||
packages: | ||
- git | ||
- make | ||
- curl | ||
env: | ||
- DOCKER_IMAGE_NAME=cloudposse/apache-php-fpm | ||
services: | ||
- docker | ||
install: | ||
- make init | ||
- make docker:login | ||
|
||
script: | ||
- make docker:build | ||
|
||
after_success: | ||
- make travis:docker-tag-and-push |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM cloudposse/apache-php | ||
FROM cloudposse/apache-php:latest | ||
|
||
MAINTAINER Erik Osterman "[email protected]" | ||
|
||
|
@@ -23,25 +23,21 @@ RUN apt-get update && \ | |
apt-add-repository multiverse && \ | ||
apt-get update && \ | ||
apt-get -y install \ | ||
apache2-mpm-event \ | ||
libapache2-mod-fastcgi \ | ||
php5-fpm && \ | ||
php-fpm && \ | ||
apt-get clean && \ | ||
rm -f /var/www/html/index.html && \ | ||
echo '<?php // silence is golden ?>' > /var/www/html/index.php | ||
|
||
ADD conf-available/ /etc/apache2/conf-available/ | ||
ADD mods-available/ /etc/apache2/mods-available/ | ||
ADD fpm/ /etc/php5/fpm/ | ||
ADD start /start | ||
ADD rootfs / | ||
|
||
RUN a2dismod mpm_prefork && \ | ||
a2dismod mpm_worker && \ | ||
a2dismod php5 && \ | ||
a2dismod php7.0 && \ | ||
a2enmod mpm_event && \ | ||
a2enmod actions && \ | ||
a2enmod fastcgi && \ | ||
a2enmod alias && \ | ||
a2enconf php5-fpm | ||
a2enconf php7.0-fpm | ||
|
||
|
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 @@ | ||
-include $(shell curl -sSL -o .build-harness "https://git.io/build-harness"; echo .build-harness) |
This file was deleted.
Oops, something went wrong.
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,9 @@ | ||
<IfModule mod_fastcgi.c> | ||
AddHandler php7-fcgi .php | ||
Action php7-fcgi /php7-fcgi | ||
Alias /php7-fcgi /usr/lib/cgi-bin/php7-fcgi | ||
FastCgiExternalServer /usr/lib/cgi-bin/php7-fcgi -socket /var/run/php/php7.0-fpm.sock -pass-header Authorization | ||
<Directory /usr/lib/cgi-bin> | ||
Require all granted | ||
</Directory> | ||
</IfModule> |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
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