GithubHelp home page GithubHelp logo

00mjk / dockerfile-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from webdevops/dockerfile

0.0 0.0 0.0 9.1 MB

:package: Dockerfiles from WebDevOps for PHP, Apache and Nginx

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

License: MIT License

Shell 67.50% Ruby 4.40% Python 14.05% PHP 0.61% Makefile 0.10% HTML 0.01% Dockerfile 9.63% Jinja 3.71%

dockerfile-1's Introduction

PHP docker images with super powers ๐Ÿš€

We provide images which extend the official PHP-Images. We add additional stuff like:

  • almost any PHP module preinstalled
  • configuration based on ENV variables
  • run multiple services (like php-fpm and nginx) with supervisord

GitHub issuesGitHub forksGitHub starsGitHub license pipeline status

Automated build and test running on Gitlab CI (GitLab.com CI custom Google Cloud runner) sponsored by Onedrop GmbH & Co. KG.

Docker layout

Communication and support

Or write an issue in our GitHub repository.

Build process

File generation

The general build process is currently a mixture of python jinja2 legacy and PHP.

First we build the files inside the docker directory using this command:

docker run --rm -ti -v $PWD:/app -w /app webdevops/dockerfile-build-env make provision

It will use the Jinja2 templates inside of the template directory and the config files from the provisioning directory.

The files in the docker directory are never modified manually

This will be replaced with PHP twig templates in the future to streamline everything.

Building in CI

We generate a multi stage Gitlab-CI configuration using PHP:

docker run --rm -ti -v $PWD:/app -w /app/ci webdevops/php:8.1 composer install
docker run --rm -ti -v $PWD:/app -w /app webdevops/php:8.1 ci/console gitlab:generate

Gitlab CI builds every image independant and runs serverspec and structure tests on every image before pushing them to the registry.

Documentation

As in many projects the documentation is kind of up to date ๐Ÿ˜….

Debian PHP

The following images which are currently supported are based on php:{VER}-fpm-buster.

  • webdevops/php:7.4
  • webdevops/php:8.0
  • webdevops/php:8.1
  • webdevops/php:8.2
  • webdevops/php-dev:7.4
  • webdevops/php-dev:8.0
  • webdevops/php-dev:8.1
  • webdevops/php-dev:8.2
  • webdevops/php-apache:7.4
  • webdevops/php-apache:8.0
  • webdevops/php-apache:8.1
  • webdevops/php-apache:8.2
  • webdevops/php-apache-dev:7.4
  • webdevops/php-apache-dev:8.0
  • webdevops/php-apache-dev:8.1
  • webdevops/php-apache-dev:8.2
  • webdevops/php-nginx:7.4
  • webdevops/php-nginx:8.0
  • webdevops/php-nginx:8.1
  • webdevops/php-nginx:8.2
  • webdevops/php-nginx-dev:7.4
  • webdevops/php-nginx-dev:8.0
  • webdevops/php-nginx-dev:8.1
  • webdevops/php-nginx-dev:8.2

Alpine PHP

The following images which are currently supported are based on php:{VER}-fpm-alpine.

  • webdevops/php:7.4-alpine
  • webdevops/php:8.0-alpine
  • webdevops/php:8.1-alpine
  • webdevops/php:8.2-alpine
  • webdevops/php-dev:7.4-alpine
  • webdevops/php-dev:8.0-alpine
  • webdevops/php-dev:8.1-alpine
  • webdevops/php-dev:8.2-alpine
  • webdevops/php-apache:7.4-alpine
  • webdevops/php-apache:8.0-alpine
  • webdevops/php-apache:8.1-alpine
  • webdevops/php-apache:8.2-alpine
  • webdevops/php-apache-dev:7.4-alpine
  • webdevops/php-apache-dev:8.0-alpine
  • webdevops/php-apache-dev:8.1-alpine
  • webdevops/php-apache-dev:8.2-alpine
  • webdevops/php-nginx:7.4-alpine
  • webdevops/php-nginx:8.0-alpine
  • webdevops/php-nginx:8.1-alpine
  • webdevops/php-nginx:8.2-alpine
  • webdevops/php-nginx-dev:7.4-alpine
  • webdevops/php-nginx-dev:8.0-alpine
  • webdevops/php-nginx-dev:8.1-alpine
  • webdevops/php-nginx-dev:8.2-alpine

dockerfile-1's People

Contributors

after8 avatar bittner avatar chathula avatar choonge avatar chrisb9 avatar coding46 avatar dependabot[bot] avatar guiyomh avatar htuscher avatar josefglatz avatar kaluzki avatar mblaschke avatar nickboldt avatar omadoyeabraham avatar orlandothoeny avatar panadeedu avatar pborreli avatar pepijnolivier avatar peter-mcconnell avatar pszalko avatar rizzicr avatar sergeyklay avatar syerad avatar tbal avatar timrspratt avatar todstoychev avatar vadimkuragkovskiy avatar vasilvestre avatar vertexvaar avatar ywarnier 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.