use alpine 3.19 and php-fpm 8.3

This commit is contained in:
Sebastian Hugentobler 2023-12-14 17:29:46 +01:00
parent 9dde9649dd
commit a0aa33fe4f
Signed by: shu
GPG Key ID: BB32CF3CA052C2F0
10 changed files with 22 additions and 21 deletions

View File

@ -0,0 +1,12 @@
name: Build Multiarch Container Image
on: [push]
jobs:
call-reusable-workflow:
uses: container/multiarch-build-workflow/.gitea/workflows/build.yaml@main
with:
repository: ${{ gitea.repository }}
ref_name: ${{ gitea.ref_name }}
sha: ${{ gitea.sha }}
registry_url: ${{ secrets.REGISTRY_URL }}
registry_user: ${{ secrets.REGISTRY_USER }}
registry_pw: ${{ secrets.REGISTRY_PW }}

View File

@ -1,11 +0,0 @@
pipeline:
publish-docker-image:
image: plugins/kaniko
settings:
repo: docker.io/thallian/php8-fpm
tags: latest,${CI_COMMIT_SHA:0:8},${CI_COMMIT_TAG=pre}
dockerfile: Dockerfile
username:
from_secret: DOCKER_USER
password:
from_secret: DOCKER_PW

5
Containerfile Normal file
View File

@ -0,0 +1,5 @@
FROM docker.io/thallian/confd-env:3.19-3.1.6.2
RUN apk --no-cache add php83-fpm
ADD /rootfs /

View File

@ -1,5 +0,0 @@
FROM docker.io/thallian/confd-env:3.18-3.1.5.0
RUN apk --no-cache add php82-fpm
ADD /rootfs /

View File

@ -1,3 +1,3 @@
[template] [template]
src = "00_memory_limit.ini.tmpl" src = "00_memory_limit.ini.tmpl"
dest = "/etc/php82/conf.d/00_memory_limit.ini" dest = "/etc/php83/conf.d/00_memory_limit.ini"

View File

@ -1,3 +1,3 @@
[template] [template]
src = "01_max_execution_time.ini.tmpl" src = "01_max_execution_time.ini.tmpl"
dest = "/etc/php82/conf.d/01_max_execution_time.ini" dest = "/etc/php83/conf.d/01_max_execution_time.ini"

View File

@ -1,3 +1,3 @@
[template] [template]
src = "02_opcache.ini.tmpl" src = "02_opcache.ini.tmpl"
dest = "/etc/php82/conf.d/02_opcache.ini" dest = "/etc/php83/conf.d/02_opcache.ini"

View File

@ -1,3 +1,3 @@
[template] [template]
src = "www.conf.tmpl" src = "www.conf.tmpl"
dest = "/etc/php82/php-fpm.d/www.conf" dest = "/etc/php83/php-fpm.d/www.conf"

View File

@ -1,3 +1,3 @@
#!/bin/sh #!/bin/sh
exec php-fpm82 --nodaemonize --force-stderr exec php-fpm83 --nodaemonize --force-stderr