Skip to content

point-line-surface-body/Dockerfile

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebDevOps Dockerfiles

Dockerfiles for various prebuilt docker containers

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
php PHP (cli and fpm) service containers webdevops/base
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
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

Building

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

Command Description
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 ...)

make provision Deploy all configuration files from _provisioning/
make dist-update Update local distrubtion images (CentOS, Debian, Ubuntu)

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 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.

Images

Image Info
Bootstrap container
webdevops/bootstrap:latest
webdevops/bootstrap:ubuntu-12.04
webdevops/bootstrap:ubuntu-14.04
webdevops/bootstrap:ubuntu-15.04
webdevops/bootstrap:ubuntu-15.10
webdevops/bootstrap:centos-7
webdevops/bootstrap:debian-8

Base container
webdevops/base:latest
webdevops/base:ubuntu-12.04
webdevops/base:ubuntu-14.04
webdevops/base:ubuntu-15.04
webdevops/base:ubuntu-15.10
webdevops/base:centos-7
webdevops/base:debian-8

PHP container
webdevops/php:latest
webdevops/php:ubuntu-12.04
webdevops/php:ubuntu-14.04
webdevops/php:ubuntu-15.04
webdevops/php:ubuntu-15.10
webdevops/php:centos-7
webdevops/php:debian-8-php7
webdevops/php:debian-8
webdevops/php:debian-7

Apache HTTPD with PHP container
webdevops/php-apache:latest
webdevops/php-apache:ubuntu-14.04
webdevops/php-apache:ubuntu-15.04
webdevops/php-apache:ubuntu-15.10
webdevops/php-apache:centos-7
webdevops/php-apache:debian-8-php7
webdevops/php-apache:debian-8
webdevops/php-apache:debian-7

NGINX with PHP container
webdevops/php-nginx:latest
webdevops/php-nginx:ubuntu-12.04
webdevops/php-nginx:ubuntu-14.04
webdevops/php-nginx:ubuntu-15.04
webdevops/php-nginx:ubuntu-15.10
webdevops/php-nginx:centos-7
webdevops/php-nginx:debian-8-php7
webdevops/php-nginx:debian-8
webdevops/php-nginx:debian-7

Apache HTTPD container
webdevops/apache:latest
webdevops/apache:ubuntu-12.04
webdevops/apache:ubuntu-14.04
webdevops/apache:ubuntu-15.04
webdevops/apache:ubuntu-15.10
webdevops/apache:centos-7
webdevops/apache:debian-8
webdevops/apache:debian-7

Nginx container
webdevops/nginx:latest
webdevops/nginx:ubuntu-12.04
webdevops/nginx:ubuntu-14.04
webdevops/nginx:ubuntu-15.04
webdevops/nginx:ubuntu-15.10
webdevops/nginx:centos-7
webdevops/nginx:debian-8
webdevops/nginx:debian-7

HHVM container
webdevops/hhvm:latest
webdevops/hhvm:ubuntu-14.04

Apache HTTPD with HHVM container
webdevops/hhvm-apache:latest
webdevops/hhvm-apache:ubuntu-14.04

NGINX with PHP container
webdevops/hhvm-nginx:latest
webdevops/hhvm-nginx:ubuntu-14.04

Service container
webdevops/samson-deployment:latest
webdevops/ssh:latest
webdevops/vsftp:latest

Misc container
webdevops/storage:latest

Packages

No packages published

Languages

  • Shell 70.8%
  • Ruby 23.8%
  • Nginx 3.3%
  • Makefile 1.8%
  • Other 0.3%