Compare commits

...

32 commits

Author SHA1 Message Date
Ludovic Poujol 4ea3469f5d
apache2-php/bullseye/Dockerfile > fix wrong file name copy
All checks were successful
gitea/evodocker/pipeline/head This commit looks good
2024-04-24 18:04:37 +02:00
Ludovic Poujol 9c524d108b
apache2-php > Add bookworm and jessie
Some checks failed
gitea/evodocker/pipeline/head There was a failure building this commit
2024-04-24 17:57:00 +02:00
David Prevot 0c25523f1a Use our current repository
All checks were successful
gitea/evodocker/pipeline/head This commit looks good
2023-07-27 15:34:04 +02:00
Ludovic Poujol 9669ce4273 Add ansible-lint-pip
All checks were successful
gitea/evodocker/pipeline/head This commit looks good
2022-12-28 17:16:19 +01:00
Ludovic Poujol c7809de8ca ansible-lint: use version 6.6.1
All checks were successful
gitea/evodocker/pipeline/head This commit looks good
2022-12-27 17:26:06 +01:00
Ludovic Poujol 9c57fdada5 ansible-lint: use pip version
All checks were successful
gitea/evodocker/pipeline/head This commit looks good
2022-12-27 16:57:23 +01:00
Ludovic Poujol 8cb29df2e6 ansible-lint: new container
All checks were successful
gitea/evodocker/pipeline/head This commit looks good
2022-12-27 15:42:12 +01:00
David Prevot 8560053220 php: Provide PHP 8.1
All checks were successful
gitea/evodocker/pipeline/head This commit looks good
2022-12-09 10:03:51 +01:00
Ludovic Poujol d32ea1deb8 Shellcheck: Upgrade from strech to bullseye
All checks were successful
gitea/evodocker/pipeline/head This commit looks good
2022-11-29 11:00:30 +01:00
David Prevot 6bb7f434af Install php-xml on Bullseye (instead of php-php-gettext)
All checks were successful
gitea/evodocker/pipeline/head This commit looks good
2022-08-19 14:01:25 +02:00
David Prevot d114eacf7f CI: Use Jenkins only
All checks were successful
gitea/evodocker/pipeline/head This commit looks good
2022-07-29 09:38:42 +02:00
David Prevot 092f1c65af Jenkins CI: daily build
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
gitea.evolix.org/evodocker/pipeline/head This commit looks good
gitea/evodocker/pipeline/head This commit looks good
2022-07-20 11:12:35 +02:00
David Prevot fb39e39244 php: Drop alternative Stretch images
All checks were successful
gitea.evolix.org on plain agent00/evodocker/pipeline/head This commit looks good
continuous-integration/drone/push Build is passing
Fix Drone too.
2022-07-12 13:44:14 +02:00
David Prevot 5a7c8f1686 php: Drop alternative Stretch images
Some checks failed
gitea.evolix.org on plain agent00/evodocker/pipeline/head This commit looks good
continuous-integration/drone/push Build is failing
They are not provided for free anymore. See <https://php.freexian.com/>.
2022-07-12 13:29:10 +02:00
David Prevot a844e7c6a9 Jenkins CI: tfix
All checks were successful
continuous-integration/drone/push Build is passing
gitea.evolix.org on plain agent00/evodocker/pipeline/head This commit looks good
2022-06-28 14:03:34 +02:00
David Prevot c6205f2877 Jenkins CI: Drop extra line
Some checks failed
gitea.evolix.org on plain agent00/evodocker/pipeline/head There was a failure building this commit
continuous-integration/drone/push Build is passing
2022-06-28 14:00:22 +02:00
David Prevot ed4312d5cb php: composer is not part of Jessie
Some checks failed
gitea.evolix.org on plain agent00/evodocker/pipeline/head There was a failure building this commit
continuous-integration/drone/push Build is passing
2022-06-28 13:44:49 +02:00
David Prevot 229553785a gbp: Build Bullseye image 2022-06-28 13:38:20 +02:00
David Prevot 204b71aa17 gbp: Move Dockerfile to Dockerfile.sid 2022-06-28 13:30:04 +02:00
David Prevot 465dfcdc80 CI: Use agent providing Docker 2022-05-02 15:16:20 +02:00
David Prevot cb2e4d52c5 php: Point Dockerfile (latest) symlink to Bullseye
Some checks are pending
continuous-integration/drone/push Build is passing
gitea.evolix.org on plain agent00/evodocker/pipeline/head Build started...
2022-04-29 17:54:34 +02:00
David Prevot f3f7bb32fd Jenkins: Convert .drone.yml to .Jenkinsfile
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-29 17:22:06 +02:00
David Prevot dc6b3b291d CI: Rename php step
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-26 09:23:16 +02:00
David Prevot 9d62e70b82 CI: build all php images
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2022-04-26 09:19:00 +02:00
David Prevot 95c0a4f403 CI: provide context for php
Some checks failed
continuous-integration/drone/push Build is failing
2022-04-26 08:40:41 +02:00
Brice Waegeneire 0cbce0c17c Add trac.
Some checks failed
continuous-integration/drone/push Build is failing
2022-04-25 17:52:19 +02:00
David Prevot c3ea0ba3c7 CI: add php
Some checks failed
continuous-integration/drone/push Build is failing
2022-04-25 16:38:38 +02:00
David Prevot 105d495615 php: Add /var/www/html to open_basedir
All checks were successful
continuous-integration/drone/push Build is passing
/var/www/html is the default directory in current web servers.
2022-04-25 16:09:19 +02:00
David Prevot b3285d928a php: /run/php is needed since Stretch 2022-04-25 16:09:19 +02:00
David Prevot f62761e749 php: Add Dockerfile for Bullseye with PHP 8.0
Note: use of /etc/apt/keyrings/ to store the key as currently advised.
4a012436ce
2022-04-25 16:09:19 +02:00
David Prevot aafe913099 php: Add Dockerfile for Bullseye
Transitional dummy package removed in Bullseye: php-gettext.
Is php-php-gettext really useful?
2022-04-25 15:30:50 +02:00
David Prevot 814aebd1ab php: Add Dockerfile for Buster
php-mcrypt was removed with PHP 7.2
2022-04-25 15:24:32 +02:00
34 changed files with 822 additions and 167 deletions

285
.Jenkinsfile Normal file
View file

@ -0,0 +1,285 @@
pipeline {
agent { label 'docker' }
triggers {
cron('@daily')
}
stages {
stage('Build gbp') {
steps {
script {
def deb = docker.build("evolix/gbp:build${env.BUILD_ID}", "gbp")
deb.inside {
sh 'gbp --version'
}
docker.withRegistry('', 'hub.docker') {
deb.push('latest')
}
}
}
}
stage('Build gbp (Bullseye)') {
steps {
script {
def deb = docker.build("evolix/gbp:build${env.BUILD_ID}", "-f gbp/Dockerfile.bullseye gbp")
deb.inside {
sh 'gbp --version'
}
docker.withRegistry('', 'hub.docker') {
deb.push('bullseye')
}
}
}
}
stage('Build shellcheck') {
steps {
script {
def deb = docker.build("evolix/shellcheck:build${env.BUILD_ID}", "shellcheck")
deb.inside {
sh 'echo Test needed'
}
docker.withRegistry('', 'hub.docker') {
deb.push('latest')
}
}
}
}
stage('Build ansible-lint') {
steps {
script {
def deb = docker.build("evolix/ansible-lint:build${env.BUILD_ID}", "ansible-lint")
deb.inside {
sh 'echo Test needed'
}
docker.withRegistry('', 'hub.docker') {
deb.push('latest')
}
}
}
}
stage('Build ansible-lint-pip') {
steps {
script {
def deb = docker.build("evolix/ansible-lint-pip:build${env.BUILD_ID}", "ansible-lint-pip")
deb.inside {
sh 'echo Test needed'
}
docker.withRegistry('', 'hub.docker') {
deb.push('latest')
}
}
}
}
stage('Build phpcs') {
steps {
script {
def deb = docker.build("evolix/phpcs:build${env.BUILD_ID}", "phpcs")
deb.inside {
sh 'echo Test needed'
}
docker.withRegistry('', 'hub.docker') {
deb.push('latest')
}
}
}
}
stage('Build apache2-php (Stretch)') {
steps {
script {
def deb = docker.build("evolix/redis:deb9build${env.BUILD_ID}", "-f apache2-php/stretch/Dockerfile .")
deb.inside {
sh 'echo Test needed'
}
docker.withRegistry('', 'hub.docker') {
deb.push('stretch')
}
}
}
}
stage('Build apache2-php (Buster)') {
steps {
script {
def deb = docker.build("evolix/apache2-php:deb10build${env.BUILD_ID}", "-f apache2-php/buster/Dockerfile .")
deb.inside {
sh 'echo Test needed'
}
docker.withRegistry('', 'hub.docker') {
deb.push('buster')
deb.push('latest')
}
}
}
}
stage('Build apache2-php (Bullseye)') {
steps {
script {
def deb = docker.build("evolix/apache2-php:deb11build${env.BUILD_ID}", "-f apache2-php/bullseye/Dockerfile .")
deb.inside {
sh 'echo Test needed'
}
docker.withRegistry('', 'hub.docker') {
deb.push('bullseye')
deb.push('latest')
}
}
}
}
stage('Build apache2-php (Bookworm)') {
steps {
script {
def deb = docker.build("evolix/apache2-php:deb12build${env.BUILD_ID}", "-f apache2-php/bookworm/Dockerfile .")
deb.inside {
sh 'echo Test needed'
}
docker.withRegistry('', 'hub.docker') {
deb.push('bookworm')
deb.push('latest')
}
}
}
}
stage('Build redis (Stretch)') {
steps {
script {
def deb = docker.build("evolix/redis:deb9build${env.BUILD_ID}", "redis/stretch")
deb.inside {
sh 'echo Test needed'
}
docker.withRegistry('', 'hub.docker') {
deb.push('stretch')
}
}
}
}
stage('Build redis (Buster)') {
steps {
script {
def deb = docker.build("evolix/redis:deb10build${env.BUILD_ID}", "redis/buster")
deb.inside {
sh 'echo Test needed'
}
docker.withRegistry('', 'hub.docker') {
deb.push('buster')
deb.push('latest')
}
}
}
}
stage('Build php') {
steps {
script {
def deb = docker.build("evolix/php:build${env.BUILD_ID}", "-f php/Dockerfile php")
deb.inside {
sh 'composer --version'
}
docker.withRegistry('', 'hub.docker') {
deb.push('latest')
}
}
}
}
stage('Build php (Jessie)') {
steps {
script {
def deb8 = docker.build("evolix/php:deb8build${env.BUILD_ID}", "-f php/Dockerfile.jessie php")
deb8.inside {
sh 'echo Test needed'
}
docker.withRegistry('', 'hub.docker') {
deb8.push('jessie')
deb8.push('5.6')
}
}
}
}
stage('Build php (Stretch)') {
steps {
script {
def deb9 = docker.build("evolix/php:deb9build${env.BUILD_ID}", "-f php/Dockerfile.stretch php")
deb9.inside {
sh 'composer --version'
}
docker.withRegistry('', 'hub.docker') {
deb9.push('stretch')
deb9.push('7.0')
}
}
}
}
stage('Build php (Buster)') {
steps {
script {
def deb10 = docker.build("evolix/php:deb10build${env.BUILD_ID}", "-f php/Dockerfile.buster php")
deb10.inside {
sh 'composer --version'
}
docker.withRegistry('', 'hub.docker') {
deb10.push('buster')
deb10.push('7.3')
}
}
}
}
stage('Build php (Bullseye)') {
steps {
script {
def deb11 = docker.build("evolix/php:deb11build${env.BUILD_ID}", "-f php/Dockerfile.bullseye php")
deb11.inside {
sh 'composer --version'
}
docker.withRegistry('', 'hub.docker') {
deb11.push('bullseye')
deb11.push('7.4')
}
}
}
}
stage('Build php (Bullseye PHP 8.0)') {
steps {
script {
def deb11php80 = docker.build("evolix/php:deb11php80build${env.BUILD_ID}", "-f php/Dockerfile.bullseye80 php")
deb11php80.inside {
sh 'composer --version'
}
docker.withRegistry('', 'hub.docker') {
deb11php80.push('bullseye80')
deb11php80.push('8.0')
}
}
}
}
stage('Build php (Bullseye PHP 8.1)') {
steps {
script {
def deb11php81 = docker.build("evolix/php:deb11php81build${env.BUILD_ID}", "-f php/Dockerfile.bullseye81 php")
deb11php81.inside {
sh 'composer --version'
}
docker.withRegistry('', 'hub.docker') {
deb11php81.push('bullseye81')
deb11php81.push('8.1')
}
}
}
}
}
}

View file

@ -1,91 +0,0 @@
kind: pipeline
name: default
steps:
- name: build gbp
image: plugins/docker
depends_on: []
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
dockerfile: gbp/Dockerfile
repo: evolix/gbp
tags: latest
- name: build shellcheck
image: plugins/docker
depends_on: []
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
dockerfile: shellcheck/Dockerfile
repo: evolix/shellcheck
tags: latest
- name: build phpcs
image: plugins/docker
depends_on: []
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
dockerfile: phpcs/Dockerfile
repo: evolix/phpcs
tags: latest
- name: build apache2-php (Stretch)
image: plugins/docker
depends_on: []
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
dockerfile: apache2-php/stretch/Dockerfile
repo: evolix/apache2-php
tags: stretch
- name: build apache2-php (Buster)
image: plugins/docker
depends_on: []
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
dockerfile: apache2-php/buster/Dockerfile
repo: evolix/apache2-php
tags:
- buster
- latest
- name: build redis (Stretch)
image: plugins/docker
depends_on: []
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
dockerfile: redis/stretch/Dockerfile
repo: evolix/redis
tags: stretch
- name: build redis (Buster)
image: plugins/docker
depends_on: []
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
dockerfile: redis/buster/Dockerfile
repo: evolix/redis
tags:
- buster
- latest

View file

@ -0,0 +1,9 @@
FROM debian:bullseye-slim
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
python3-pip git \
&& rm -rf /var/lib/apt/lists/*
RUN pip3 install ansible-lint

9
ansible-lint/Dockerfile Normal file
View file

@ -0,0 +1,9 @@
FROM debian:bullseye-slim
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
python3-pip git \
&& rm -rf /var/lib/apt/lists/*
RUN pip3 install ansible-lint==6.6.1

View file

@ -0,0 +1,37 @@
# Official Debian image
FROM debian:bookworm
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
apache2 \
libapache2-mod-php8.2 \
php8.2 \
php8.2-cli \
php8.2-curl \
php8.2-gd \
php8.2-imagick \
php8.2-imap \
php8.2-intl \
php8.2-ldap \
php8.2-mysql \
php8.2-mbstring \
php8.2-ssh2 \
php8.2-xml \
php8.2-zip \
composer \
ca-certificates \
&& rm -rf /var/lib/apt/lists/*
COPY apache2-php/bookworm/apache-evolinux-defaults.conf /etc/apache2/conf-available
COPY apache2-php/bookworm/php-evolinux-defaults.ini /etc/php/8.2/apache2/conf.d
RUN a2enconf apache-evolinux-defaults
RUN a2enmod rewrite remoteip headers
RUN echo "export APACHE_ARGUMENTS='-DFOREGROUND'" >>/etc/apache2/envvars
EXPOSE 80
VOLUME /var/www/
CMD ["apache2ctl", "-k", "start"]

View file

@ -0,0 +1,36 @@
ServerTokens Prod
Timeout 10
KeepAliveTimeout 2
MaxKeepAliveRequests 10
#MaxClients 250
MaxRequestWorkers 250
ServerLimit 250
StartServers 50
MinSpareServers 20
MaxSpareServers 30
MaxRequestsPerChild 0
<Directory /home/>
AllowOverride None
Require all granted
</Directory>
<IfModule mod_ssl.c>
SSLProtocol all -SSLv2 -SSLv3
SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5:!RC4
</IfModule>
<Files ~ "\.(inc|bak)$">
Require all denied
</Files>
<IfModule mod_status.c>
ExtendedStatus On
<IfModule mod_proxy.c>
ProxyStatus On
</IfModule>
</IfModule>
<IfModule mpm_itk.c>
LimitUIDRange 0 6000
LimitGIDRange 0 6000
</IfModule>

View file

@ -0,0 +1,10 @@
[PHP]
short_open_tag = Off
expose_php = Off
display_errors = Off
log_errors = On
html_errors = Off
allow_url_fopen = Off
opcache.memory_consumption = 128M
opcache.max_accelerated_files = 8000

View file

@ -0,0 +1,37 @@
# Official Debian image
FROM debian:bullseye
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
apache2 \
libapache2-mod-php7.4 \
php7.4 \
php7.4-cli \
php7.4-curl \
php7.4-gd \
php7.4-imagick \
php7.4-imap \
php7.4-intl \
php7.4-ldap \
php7.4-mysql \
php7.4-mbstring \
php7.4-ssh2 \
php7.4-xml \
php7.4-zip \
composer \
ca-certificates \
&& rm -rf /var/lib/apt/lists/*
COPY apache2-php/bullseye/apache-evolinux-defaults.conf /etc/apache2/conf-available
COPY apache2-php/bullseye/php-evolinux-defaults.ini /etc/php/7.4/apache2/conf.d
RUN a2enconf apache-evolinux-defaults
RUN a2enmod rewrite remoteip headers
RUN echo "export APACHE_ARGUMENTS='-DFOREGROUND'" >>/etc/apache2/envvars
EXPOSE 80
VOLUME /var/www/
CMD ["apache2ctl", "-k", "start"]

View file

@ -0,0 +1,36 @@
ServerTokens Prod
Timeout 10
KeepAliveTimeout 2
MaxKeepAliveRequests 10
#MaxClients 250
MaxRequestWorkers 250
ServerLimit 250
StartServers 50
MinSpareServers 20
MaxSpareServers 30
MaxRequestsPerChild 0
<Directory /home/>
AllowOverride None
Require all granted
</Directory>
<IfModule mod_ssl.c>
SSLProtocol all -SSLv2 -SSLv3
SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5:!RC4
</IfModule>
<Files ~ "\.(inc|bak)$">
Require all denied
</Files>
<IfModule mod_status.c>
ExtendedStatus On
<IfModule mod_proxy.c>
ProxyStatus On
</IfModule>
</IfModule>
<IfModule mpm_itk.c>
LimitUIDRange 0 6000
LimitGIDRange 0 6000
</IfModule>

View file

@ -0,0 +1,10 @@
[PHP]
short_open_tag = Off
expose_php = Off
display_errors = Off
log_errors = On
html_errors = Off
allow_url_fopen = Off
opcache.memory_consumption = 128M
opcache.max_accelerated_files = 8000

View file

@ -1,11 +0,0 @@
FROM debian:sid-slim
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
build-essential \
debhelper \
dh-exec \
git-buildpackage \
equivs \
devscripts \
&& rm -rf /var/lib/apt/lists/*

1
gbp/Dockerfile Symbolic link
View file

@ -0,0 +1 @@
Dockerfile.sid

11
gbp/Dockerfile.bullseye Normal file
View file

@ -0,0 +1,11 @@
FROM debian:bullseye-slim
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
build-essential \
debhelper \
dh-exec \
git-buildpackage \
equivs \
devscripts \
&& rm -rf /var/lib/apt/lists/*

11
gbp/Dockerfile.sid Normal file
View file

@ -0,0 +1,11 @@
FROM debian:sid-slim
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
build-essential \
debhelper \
dh-exec \
git-buildpackage \
equivs \
devscripts \
&& rm -rf /var/lib/apt/lists/*

View file

@ -1 +1 @@
Dockerfile.stretch
Dockerfile.bullseye

28
php/Dockerfile.bullseye Normal file
View file

@ -0,0 +1,28 @@
FROM debian:bullseye
LABEL maintainer="Equipe Evolix <info@evolix.fr>"
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
php \
php-fpm \
php-cli \
php-curl \
php-mysql \
php-pgsql \
php-ldap \
php-imap \
php-gd \
php-ssh2 \
php-xml \
composer \
libphp-phpmailer \
ca-certificates \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /run/php
COPY z-evolinux-defaults.php74.ini /etc/php/7.4/fpm/conf.d/z-evolinux-defaults.ini
COPY pool.d-defaults.php74.conf /etc/php/7.4/fpm/pool.d/www.conf
EXPOSE 9000
CMD ["php-fpm7.4"]

39
php/Dockerfile.bullseye80 Normal file
View file

@ -0,0 +1,39 @@
FROM debian:bullseye
LABEL maintainer="Equipe Evolix <info@evolix.fr>"
COPY pub_evolix.asc /etc/apt/keyrings/pub_evolix.asc
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
wget \
apt-transport-https \
ca-certificates \
&& wget -O /etc/apt/keyrings/sury.gpg \
https://packages.sury.org/php/apt.gpg \
&& echo "deb [signed-by=/etc/apt/keyrings/sury.gpg] https://packages.sury.org/php/ bullseye main" \
> /etc/apt/sources.list.d/sury.list \
&& echo "deb [signed-by=/etc/apt/keyrings/pub_evolix.asc] http://pub.evolix.org/evolix bullseye-php80 main" \
> /etc/apt/sources.list.d/php80.list \
&& apt-get update \
&& apt-get install -y --no-install-recommends \
php \
php-fpm \
php-cli \
php-curl \
php-mysql \
php-pgsql \
php-ldap \
php-imap \
php-gd \
php-ssh2 \
php-xml \
composer \
libphp-phpmailer \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /run/php
COPY z-evolinux-defaults.php80.ini /etc/php/8.0/fpm/conf.d/z-evolinux-defaults.ini
COPY pool.d-defaults.php80.conf /etc/php/8.0/fpm/pool.d/www.conf
EXPOSE 9000
CMD ["php-fpm8.0"]

39
php/Dockerfile.bullseye81 Normal file
View file

@ -0,0 +1,39 @@
FROM debian:bullseye
LABEL maintainer="Equipe Evolix <info@evolix.fr>"
COPY pub_evolix.asc /etc/apt/keyrings/pub_evolix.asc
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
wget \
apt-transport-https \
ca-certificates \
&& wget -O /etc/apt/keyrings/sury.gpg \
https://packages.sury.org/php/apt.gpg \
&& echo "deb [signed-by=/etc/apt/keyrings/sury.gpg] https://packages.sury.org/php/ bullseye main" \
> /etc/apt/sources.list.d/sury.list \
&& echo "deb [signed-by=/etc/apt/keyrings/pub_evolix.asc] http://pub.evolix.org/evolix bullseye-php81 main" \
> /etc/apt/sources.list.d/php81.list \
&& apt-get update \
&& apt-get install -y --no-install-recommends \
php \
php-fpm \
php-cli \
php-curl \
php-mysql \
php-pgsql \
php-ldap \
php-imap \
php-gd \
php-ssh2 \
php-xml \
composer \
libphp-phpmailer \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /run/php
COPY z-evolinux-defaults.php81.ini /etc/php/8.1/fpm/conf.d/z-evolinux-defaults.ini
COPY pool.d-defaults.php81.conf /etc/php/8.1/fpm/pool.d/www.conf
EXPOSE 9000
CMD ["php-fpm8.1"]

28
php/Dockerfile.buster Normal file
View file

@ -0,0 +1,28 @@
FROM debian:buster
LABEL maintainer="Equipe Evolix <info@evolix.fr>"
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
php \
php-fpm \
php-cli \
php-curl \
php-mysql \
php-pgsql \
php-ldap \
php-imap \
php-gd \
php-ssh2 \
php-gettext \
composer \
libphp-phpmailer \
ca-certificates \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /run/php
COPY z-evolinux-defaults.php73.ini /etc/php/7.3/fpm/conf.d/z-evolinux-defaults.ini
COPY pool.d-defaults.php73.conf /etc/php/7.3/fpm/pool.d/www.conf
EXPOSE 9000
CMD ["php-fpm7.3"]

View file

@ -19,7 +19,8 @@ RUN apt-get update \
composer \
libphp-phpmailer \
ca-certificates \
&& rm -rf /var/lib/apt/lists/*
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /run/php
COPY z-evolinux-defaults.php70.ini /etc/php/7.0/fpm/conf.d/z-evolinux-defaults.ini
COPY pool.d-defaults.php70.conf /etc/php/7.0/fpm/pool.d/www.conf

View file

@ -1,29 +0,0 @@
FROM debian:stretch
LABEL maintainer="Equipe Evolix <info@evolix.fr>"
RUN apt-get update && apt-get install -y --no-install-recommends wget apt-transport-https ca-certificates
RUN wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
RUN echo "deb https://packages.sury.org/php/ stretch main" > /etc/apt/sources.list.d/sury.list
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
php7.2 \
php7.2-fpm \
php7.2-cli \
php7.2-curl \
php7.2-mysql \
php7.2-pgsql \
php7.2-ldap \
php7.2-imap \
php7.2-gd \
php-ssh2 \
php-gettext \
composer \
libphp-phpmailer \
&& rm -rf /var/lib/apt/lists/*
COPY z-evolinux-defaults.php72.ini /etc/php/7.2/fpm/conf.d/z-evolinux-defaults.ini
COPY pool.d-defaults.php72.conf /etc/php/7.2/fpm/pool.d/www.conf
EXPOSE 9000
CMD ["php-fpm7.2"]

View file

@ -1,29 +0,0 @@
FROM debian:stretch
LABEL maintainer="Equipe Evolix <info@evolix.fr>"
RUN apt-get update && apt-get install -y --no-install-recommends wget apt-transport-https ca-certificates
RUN wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
RUN echo "deb https://packages.sury.org/php/ stretch main" > /etc/apt/sources.list.d/sury.list
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
php7.3 \
php7.3-fpm \
php7.3-cli \
php7.3-curl \
php7.3-mysql \
php7.3-pgsql \
php7.3-ldap \
php7.3-imap \
php7.3-gd \
php-ssh2 \
php-gettext \
composer \
libphp-phpmailer \
&& rm -rf /var/lib/apt/lists/*
COPY z-evolinux-defaults.php73.ini /etc/php/7.3/fpm/conf.d/z-evolinux-defaults.ini
COPY pool.d-defaults.php73.conf /etc/php/7.3/fpm/pool.d/www.conf
EXPOSE 9000
CMD ["php-fpm7.3"]

View file

@ -0,0 +1,14 @@
[global]
daemonize = no
[www]
listen = 9000
user = www-data
group = www-data
pm = ondemand
pm.max_children = 100
pm.process_idle_timeout = 10s
access.log = /proc/self/fd/2
clear_env = no
catch_workers_output = yes

View file

@ -0,0 +1,14 @@
[global]
daemonize = no
[www]
listen = 9000
user = www-data
group = www-data
pm = ondemand
pm.max_children = 100
pm.process_idle_timeout = 10s
access.log = /proc/self/fd/2
clear_env = no
catch_workers_output = yes

View file

@ -0,0 +1,14 @@
[global]
daemonize = no
[www]
listen = 9000
user = www-data
group = www-data
pm = ondemand
pm.max_children = 100
pm.process_idle_timeout = 10s
access.log = /proc/self/fd/2
clear_env = no
catch_workers_output = yes

87
php/pub_evolix.asc Normal file
View file

@ -0,0 +1,87 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBGOsRdcBEADDPJ8Tsqr5Z4crmQlNQM32hfufe7gTUrXo0cAL8clt92y1QX3N
YyMv0Re4+Ugo7JZd4jsF2Q1twJMxsX5rA12xDnHHc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Ntvb3/1wMrz
DUKGlFi/IjMhhElJ0oF3YGsBwz2V2UKP7pPIYo+f5zthc7SbmO9yxAQebEOc3prM
G/Br8JOZ90w1dy6CeIYxkM4YEhhG1K8CzD3ZTTI7vh8mwRc92A6HI2NFyxeYJCr0
IsUcFQpCyXMtcLRN75DGLIjIKdYrYJuwSiUgcH5FtgkuxMYfJEX9UX8rV7HAxUvs
UdIyHLl7k+khGlZa0/W6uCioFNiygnBEp7oP/iSj4Q2Xh5yKI6Jjw/IsfRcsiaac
lHc7uF0caYGMkqRNHiX17d5EtaidTbiqQii1W9slSPXmUuUcKfD1xUfLng7TbZVm
AdEbpHCT+q037cGCYFpHPMvw3OYhhGzYeh3+1oN9t3ZvyGlvAhkrtssDQB+gxX8r
adCpihziFLjm+6IvCLYHEh3gILVFbbhdYDDUduFFjf/snlJW7j8OVc7Cxa7FbPdf
SHLT9VESzf7oiwkP5/ijGmHiEQoJd9EWYkGGz+LZAXemBwe5ZnPPWVZvDEQRMe8v
2V8pa37vyReaK//O8xxGg3NzGTn9otwVr/4Ti9OxrSzmDWpd967oZ42IZSeSY2bz
kOaV8z4C8AIgIA7vWOS83Hncbrgf2nMCXmRjf0KTMm1P7Z0BQDWpxK9lP0nRpVAg
2T3/OjJ9KcAsTz02NFC3/kOUz//NcfDP747HsQB0sltIty140B7CfcWk0a0eKSad
OxGUehskjyKhO6v3dYF+8oR9p98Q8/Rh8r7evYy2mfhgJd7a9Cchn7612Y6k1SLf
nmPGYu3s0lf/k6GoHLfXXQIJDgWeua4ZBr6cgpGONLSvWBeCVaqnk8nhbNIiSBHk
jnrcX8xAtoPLgqg0+yi7rZ3NAauZcQE6UaNB+xjJxDOIpgVLUWtFyAG4MDeIh6GH
oA9QflpnDubMnCve
=ZCml
-----END PGP PUBLIC KEY BLOCK-----

View file

@ -8,6 +8,6 @@ html_errors = Off
allow_url_fopen = Off
memory_limit = 128M
max_execution_time = 10
open_basedir = /home
open_basedir = /home:/var/www/html
disable_functions = exec, shell-exec, system, passthru, putenv, popen
error_log = /proc/self/fd/2

View file

@ -8,6 +8,6 @@ html_errors = Off
allow_url_fopen = Off
memory_limit = 128M
max_execution_time = 10
open_basedir = /home
open_basedir = /home:/var/www/html
disable_functions = exec, shell-exec, system, passthru, putenv, popen
error_log = /proc/self/fd/2

View file

@ -8,6 +8,6 @@ html_errors = Off
allow_url_fopen = Off
memory_limit = 128M
max_execution_time = 10
open_basedir = /home
open_basedir = /home:/var/www/html
disable_functions = exec, shell-exec, system, passthru, putenv, popen
error_log = /proc/self/fd/2

View file

@ -8,6 +8,6 @@ html_errors = Off
allow_url_fopen = Off
memory_limit = 128M
max_execution_time = 10
open_basedir = /home
open_basedir = /home:/var/www/html
disable_functions = exec, shell-exec, system, passthru, putenv, popen
error_log = /proc/self/fd/2

View file

@ -0,0 +1,13 @@
[PHP]
short_open_tag = Off
expose_php = Off
display_errors = Off
log_errors = On
html_errors = Off
allow_url_fopen = Off
memory_limit = 128M
max_execution_time = 10
open_basedir = /home:/var/www/html
disable_functions = exec, shell-exec, system, passthru, putenv, popen
error_log = /proc/self/fd/2

View file

@ -0,0 +1,13 @@
[PHP]
short_open_tag = Off
expose_php = Off
display_errors = Off
log_errors = On
html_errors = Off
allow_url_fopen = Off
memory_limit = 128M
max_execution_time = 10
open_basedir = /home:/var/www/html
disable_functions = exec, shell-exec, system, passthru, putenv, popen
error_log = /proc/self/fd/2

View file

@ -0,0 +1,13 @@
[PHP]
short_open_tag = Off
expose_php = Off
display_errors = Off
log_errors = On
html_errors = Off
allow_url_fopen = Off
memory_limit = 128M
max_execution_time = 10
open_basedir = /home:/var/www/html
disable_functions = exec, shell-exec, system, passthru, putenv, popen
error_log = /proc/self/fd/2

View file

@ -1,4 +1,4 @@
FROM debian:stretch-slim
FROM debian:bullseye-slim
RUN apt-get update \
&& apt-get install -y --no-install-recommends \

20
trac/jessie/Dockerfile Normal file
View file

@ -0,0 +1,20 @@
# Official Debian image
FROM debian:jessie
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
trac \
python-babel \
python-docutils \
python-pygments \
python-subversion \
python-tz \
&& rm -rf /var/lib/apt/lists/*
EXPOSE 80
VOLUME ["/var/lib/trac"]
WORKDIR /var/lib/trac
CMD /usr/bin/tracd --single-env /var/lib/trac