Giter Site home page Giter Site logo

thonatos / dockerfile Goto Github PK

View Code? Open in Web Editor NEW

This project forked from webdevops/dockerfile

0.0 3.0 0.0 61.99 MB

:package: Dockerfiles from WebDevOps for PHP, Apache and Nginx (with PHP5 and PHP7)

Home Page: https://webdevops.io/projects/dockerfiles/

License: MIT License

Makefile 0.57% Shell 59.14% Python 25.14% Nginx 2.66% PHP 0.40% HTML 0.28% Perl 0.03% Ruby 11.77%

dockerfile's Introduction

Dockerfile

Automated built and tested on WebDevOps Build server sponsored by

Docker layout

Dockerfile Description Depends on
bootstrap Distribution with ansible and some scripts official docker files
base Base containers for WebDevOps service containers webdevops/bootstrap
base-app Base containers for WebDevOps application containers webdevops/base
php PHP (cli and fpm) service containers webdevops/base-app
php-apache PHP (cli and fpm) with Apache service containers webdevops/php
php-nginx PHP (cli and fpm) with Nginx service containers webdevops/php
hhvm HHVM (cli and fcgi) service containers webdevops/base-app
hhvm-apache HHVM (cli and fcgi) with Apache service containers webdevops/hhvm
hhvm-nginx HHVM (cli and fcgi) with Nginx service containers webdevops/hhvm
vsftp VSFTP (ftp service) service container webdevops/base:latest
storage Storage (noop) container webdevops/base:latest
ssh SSH service container webdevops/base:latest
postfix Postfix service container webdevops/base:latest
mail-sandbox Mail catcher service container (catches all mails via SMTP and are accessable via IMAP) webdevops/postfix:latest
samson-deployment Samson based deployment service zendesk/samson
sphinx Sphinx container webdevops/bootstrap:alpine-3
varnish Varnish container webdevops/base:alpine-3

Building

Local building of containers can be done with make and Makefile:

Command Description
sudo make setup To Install dependancies of build chain tools
make all Build all containers fast mode (parallel building, FAST=1)
FAST=0 make all Build all containers slow mode (serial building)
DEBUG=1 make all Show log of build process even if process is successfull
FORCE=1 make all Force container build (docker build --no-cache ...)
WHITELIST="alpine-3 centos-7" make all Build all container with tag alpine-3 or centos-7

make baselayout Build and deploy baselayout.tar
make provision Deploy all configuration files from _provisioning/
make dist-update Update local distrubtion images (CentOS, Debian, Ubuntu)
make full Run provision and build all images

make test Run testsuite (use currently available docker images on your docker host)
make test-hub-images Run testsuite but pull newest docker images from docker hub first

make push Run tests and rebuild them (use cache) and push them to docker hub
make publish Run dist-update, all with FORCE and push

make base Build all base containers
make service Build all service containers
make php Build all php containers
make hhvm Build all hhvm containers
make nginx Build all nginx containers
make apache Build all apache containers
make webdevops/php-nginx Build specific containers (as example)

Provisioning

All base inherited containers provides an modular provisioning available as simple shell scripts and ansible roles. See docker/base/README.md for more informations.

The configuration and provisioning files are build from _provisioning/ to get a consistent configuraiton for all containers. This also should reduce copy&paste errors because the configuration will be deployed automatically into containers on build process.

dockerfile's People

Contributors

18601673727 avatar choonge avatar coding46 avatar gimler avatar guiyomh avatar htuscher avatar josefglatz avatar mblaschke avatar nvanheuverzwijn avatar panadeedu avatar pborreli avatar rizzicr avatar sergeyklay avatar ywarnier avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.