use alpine 3.19 and php-fpm 8.3
This commit is contained in:
parent
9dde9649dd
commit
a0aa33fe4f
12
.gitea/workflows/container.yaml
Normal file
12
.gitea/workflows/container.yaml
Normal 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 }}
|
@ -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
5
Containerfile
Normal 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 /
|
@ -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 /
|
|
@ -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"
|
||||||
|
@ -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"
|
||||||
|
@ -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"
|
||||||
|
@ -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"
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
exec php-fpm82 --nodaemonize --force-stderr
|
exec php-fpm83 --nodaemonize --force-stderr
|
||||||
|
Loading…
Reference in New Issue
Block a user