Skip to content

Commit b8227e9

Browse files
author
Hans Höchtl
committed
cleanup deprecations and legacy
1 parent 1ca511a commit b8227e9

File tree

4,656 files changed

+482
-121533
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

4,656 files changed

+482
-121533
lines changed

.gitlab-ci.yml

+262-481
Large diffs are not rendered by default.

CHANGELOG.md

-250
This file was deleted.

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2015-2016 WebDevOps
3+
Copyright (c) 2015-2023 WebDevOps
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

Makefile

-3
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,3 @@ documentation:
6666
-e "VIRTUAL_PORT=8000" \
6767
webdevops/sphinx sphinx-autobuild \
6868
--poll -H 0.0.0.0 /opt/docs html
69-
70-
webdevops/%:
71-
python2 ./bin/console docker:build --threads=auto --whitelist=$@

README.md

+44-50
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,65 @@
11
# Introduction
22

3+
We provide images which extend the official [PHP-Images](https://hub.docker.com/_/php/tags).
4+
We add additional stuff like:
5+
6+
* almost any PHP module preinstalled
7+
* configuration based on ENV variables
8+
* run multiple services (like php-fpm and nginx) with supervisord
9+
310
[![GitHub issues](https://img.shields.io/github/issues/webdevops/Dockerfile.svg)](https://github.com/webdevops/Dockerfile/issues)[![GitHub forks](https://img.shields.io/github/forks/webdevops/Dockerfile.svg)](https://github.com/webdevops/Dockerfile/network)[![GitHub stars](https://img.shields.io/github/stars/webdevops/Dockerfile.svg)](https://github.com/webdevops/Dockerfile/stargazers)[![GitHub license](https://img.shields.io/github/license/webdevops/Dockerfile.svg)](https://github.com/webdevops/Dockerfile/blob/master/LICENSE)
4-
[![pipeline status](https://gitlab.com/webdevops/autobuild/badges/master/pipeline.svg)](https://gitlab.com/webdevops/autobuild/commits/master)
11+
[![pipeline status](https://gitlab.com/webdevops/dockerfile/badges/master/pipeline.svg)](https://gitlab.com/webdevops/dockerfile/commits/master)
12+
513

6-
![Dockerfile](https://static.webdevops.io/dockerfile.svg)
714

8-
Automated build and test running on [WebDevOps CI](https://gitlab.com/webdevops/autobuild/) \(GitLab.com CI custom AWS runner\) sponsored by [Onedrop GmbH & Co. KG](https://1drop.de).
15+
Automated build and test running on [Gitlab CI](https://gitlab.com/webdevops/dockerfile/) \(GitLab.com CI custom Google Cloud runner\) sponsored by [Onedrop GmbH & Co. KG](https://1drop.de).
916

1017
[![Docker layout](documentation/gitbook/.gitbook/assets/docker-image-layout.gv.png)](https://github.com/webdevops/Dockerfile/tree/511a870fa90fe53da5c63a95b4254f6980e6d3d2/documentation/docs/resources/images/docker-image-layout.gv.png)
1118

1219
## Communication and support
1320

14-
Join us on [Slack](https://webdevops.io/slack/)
15-
1621
Or write an issue in our [GitHub repository](https://github.com/webdevops/Dockerfile/issues).
1722

18-
## Documentation
23+
## Build process
1924

20-
* [Old version of the documentation is available on readthedocs](https://dockerfile.readthedocs.io/)
21-
* [New version is currently being written on gitbook](https://webdevops.gitbook.io/dockerfile)
25+
### File generation
26+
27+
The general build process is currently a mixture of python jinja2 legacy and PHP.
28+
29+
First we build the files inside the `docker` directory using this command:
30+
31+
```
32+
docker run --rm -ti -v $PWD:/app -w /app webdevops/dockerfile-build-env make provision
33+
```
2234

23-
## Deprecations
35+
It will use the Jinja2 templates inside of the `template` directory and the
36+
config files from the `provisioning` directory.
2437

25-
### Debian/Ubuntu PHP
38+
**The files in the `docker` directory are never modified manually**
2639

27-
The following images are DEPRECATED and not longer built automatically:
40+
*This will be replaced with PHP twig templates in the future to streamline everything.*
41+
### Building in CI
2842

29-
* `webdevops/php:ubuntu-*`
30-
* `webdevops/php:debian-*`
31-
* `webdevops/php-dev:ubuntu-*`
32-
* `webdevops/php-dev:debian-*`
33-
* `webdevops/php-apache:ubuntu-*`
34-
* `webdevops/php-apache:debian-*`
35-
* `webdevops/php-apache-dev:ubuntu-*`
36-
* `webdevops/php-apache-dev:debian-*`
37-
* `webdevops/php-nginx:ubuntu-*`
38-
* `webdevops/php-nginx:debian-*`
39-
* `webdevops/php-nginx-dev:ubuntu-*`
40-
* `webdevops/php-nginx-dev:debian-*`
43+
We generate a multi stage Gitlab-CI configuration using PHP:
4144

42-
Also only supported PHP versions are built automatically.
45+
```
46+
docker run --rm -ti -v $PWD:/app -w /app/ci webdevops/php:8.1 composer install
47+
docker run --rm -ti -v $PWD:/app -w /app webdevops/php:8.1 ci/console gitlab:generate
48+
```
4349

44-
You shall use the new images which are based on the official `php:(7|8).(0|1|2|3|4)-fpm` images.
45-
The official PHP images are based on debian.
50+
Gitlab CI builds every image independant and runs serverspec and structure tests on every
51+
image before pushing them to the registry.
52+
53+
## Documentation
54+
55+
As in many projects the documentation is kind of up to date 😅.
56+
57+
* [Old version of the documentation is available on readthedocs](https://dockerfile.readthedocs.io/)
58+
* [New version is currently being written on gitbook](https://webdevops.gitbook.io/dockerfile)
59+
60+
### Debian PHP
61+
62+
The following images which are currently supported are based on `php:{VER}-fpm-buster`.
4663

4764
* `webdevops/php:7.4`
4865
* `webdevops/php:8.0`
@@ -72,28 +89,7 @@ The official PHP images are based on debian.
7289

7390
### Alpine PHP
7491

75-
The following images are DEPRECATED and not longer built automatically:
76-
77-
* `webdevops/php:alpine`
78-
* `webdevops/php:alpine-3`
79-
* `webdevops/php:alpine-3-php7`
80-
* `webdevops/php-dev:alpine`
81-
* `webdevops/php-dev:alpine-3`
82-
* `webdevops/php-dev:alpine-3-php7`
83-
* `webdevops/php-apache:alpine`
84-
* `webdevops/php-apache:alpine-3`
85-
* `webdevops/php-apache:alpine-3-php7`
86-
* `webdevops/php-apache-dev:alpine`
87-
* `webdevops/php-apache-dev:alpine-3`
88-
* `webdevops/php-apache-dev:alpine-3-php7`
89-
* `webdevops/php-nginx:alpine`
90-
* `webdevops/php-nginx:alpine-3`
91-
* `webdevops/php-nginx:alpine-3-php7`
92-
* `webdevops/php-nginx-dev:alpine`
93-
* `webdevops/php-nginx-dev:alpine-3`
94-
* `webdevops/php-nginx-dev:alpine-3-php7`
95-
96-
You shall use the new images which are based on the official `php:7.(1|2|3|4)-fpm-alpine` images.
92+
The following images which are currently supported are based on `php:{VER}-fpm-alpine`.
9793

9894
* `webdevops/php:7.4-alpine`
9995
* `webdevops/php:8.0-alpine`
@@ -119,5 +115,3 @@ You shall use the new images which are based on the official `php:7.(1|2|3|4)-fp
119115
* `webdevops/php-nginx-dev:8.0-alpine`
120116
* `webdevops/php-nginx-dev:8.1-alpine`
121117
* `webdevops/php-nginx-dev:8.2-alpine`
122-
123-
*We left out 7.0 because it would vary too much from the current versions*

0 commit comments

Comments
 (0)