HUB
Sign inSign up
circledocker logo

whiteaway/circledocker

By whiteaway

•Updated about 7 years ago

Docker image to use when building in CircleCi.

Image
0

10K+

whiteaway/circledocker repository overview

⁠WagPHP:Circleci

php:5.6-apache-node with composer, awscli, gulp and bower

⁠To work with this

Make a dockerfile in root of the project with FROM whiteaway/wagphp:dev

It is suggested to add configuration into the image:

COPY docker/php/php.ini /usr/local/etc/php/
COPY docker/apache/vhost.conf /etc/apache2/sites-available/000-default.conf

example vhost.conf

<VirtualHost *:80>

    # ServerName www.example.com
    ServerAdmin webmaster@localhost
    DocumentRoot /var/www/application/public
    <Directory "/var/www/application/public">
        AllowOverride all
        Require all granted
    </Directory>

    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

php.ini is very optional. The file could contain php configuration as needed. For example date.timezone = Europe/Copenhagen

Tag summary

Content type

Image

Digest

Size

697.9 MB

Last updated

over 8 years ago

docker pull whiteaway/circledocker