fix: migrate from jcabillot/phpapache to dunglas/frankenphp

This commit is contained in:
Sagent
2026-06-29 12:33:17 +00:00
parent 5b25487d48
commit 05f4ba026e
3 changed files with 32 additions and 8 deletions
+11
View File
@@ -0,0 +1,11 @@
{
auto_https off
frankenphp
}
:8080 {
root * /app/public
encode zstd br gzip
php_server
file_server
}
+19 -6
View File
@@ -1,10 +1,23 @@
ARG VERSION="latest" FROM dunglas/frankenphp:1-php8.5-alpine
FROM "jcabillot/phpapache:${VERSION}"
LABEL maintainer="Julien Cabillot <dockerimages@cabillot.eu>" LABEL maintainer="Julien Cabillot <dockerimages@cabillot.eu>"
SHELL ["/bin/bash", "-o", "pipefail", "-c"] SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN curl -s -L "https://github.com/RSS-Bridge/rss-bridge/tarball/master/" | tar -zx --strip=1
RUN echo "*" > "/var/www/html/whitelist.txt" && \ WORKDIR /app
mkdir -p /var/www/html/cache && \
chown -R www-data:www-data /var/www/html # Install required PHP extensions for RSS-Bridge
RUN install-php-extensions mbstring simplexml curl json iconv
COPY Caddyfile /etc/frankenphp/Caddyfile
# Download RSS-Bridge
RUN curl -s -L "https://github.com/RSS-Bridge/rss-bridge/tarball/master/" | tar -zx --strip=1 -C /app/public
# Configure RSS-Bridge
RUN echo "*" > "/app/public/whitelist.txt" && \
mkdir -p /app/public/cache && \
chown -R www-data:www-data /app/public
RUN chown www-data:www-data /data/caddy && chmod 2770 /data/caddy
USER www-data
+2 -2
View File
@@ -3,14 +3,14 @@
"customManagers": [ "customManagers": [
{ {
"customType": "regex", "customType": "regex",
"description": "Detect ARG VERSION pin for jcabillot/phpapache base image", "description": "Detect ARG VERSION pin for dunglas/frankenphp base image",
"managerFilePatterns": [ "managerFilePatterns": [
"/^Dockerfile$/" "/^Dockerfile$/"
], ],
"matchStrings": [ "matchStrings": [
"ARG\\s+VERSION=\"(?<currentValue>[^\"]+)\"" "ARG\\s+VERSION=\"(?<currentValue>[^\"]+)\""
], ],
"depNameTemplate": "jcabillot/phpapache", "depNameTemplate": "dunglas/frankenphp",
"datasourceTemplate": "docker" "datasourceTemplate": "docker"
} }
] ]