From 620ac4186556489af06d05b5f07fb55ee642d1ef Mon Sep 17 00:00:00 2001 From: Sagent Date: Mon, 29 Jun 2026 13:37:06 +0000 Subject: [PATCH] fix: remove bash SHELL directive incompatible with Alpine FrankenPHP --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7e0de39..675ce48 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,6 @@ FROM dunglas/frankenphp:1-php8.5-alpine LABEL maintainer="Julien Cabillot " -SHELL ["/bin/bash", "-o", "pipefail", "-c"] - WORKDIR /app # Install required PHP extensions for RSS-Bridge @@ -10,8 +8,10 @@ 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 +# Download RSS-Bridge (two-step to avoid pipefail dependency) +RUN curl -s -L "https://github.com/RSS-Bridge/rss-bridge/tarball/master/" -o /tmp/rssbridge.tar && \ + tar -zx --strip=1 -C /app/public -f /tmp/rssbridge.tar && \ + rm /tmp/rssbridge.tar # Configure RSS-Bridge RUN echo "*" > "/app/public/whitelist.txt" && \ -- 2.52.0