fix: remove bash SHELL directive incompatible with Alpine FrankenPHP
PR Checks / hadolint (pull_request) Failing after 10m25s
PR Checks / hadolint (pull_request) Failing after 10m25s
This commit is contained in:
+4
-4
@@ -1,8 +1,6 @@
|
|||||||
FROM dunglas/frankenphp:1-php8.5-alpine
|
FROM dunglas/frankenphp:1-php8.5-alpine
|
||||||
LABEL maintainer="Julien Cabillot <dockerimages@cabillot.eu>"
|
LABEL maintainer="Julien Cabillot <dockerimages@cabillot.eu>"
|
||||||
|
|
||||||
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# Install required PHP extensions for RSS-Bridge
|
# 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
|
COPY Caddyfile /etc/frankenphp/Caddyfile
|
||||||
|
|
||||||
# Download RSS-Bridge
|
# Download RSS-Bridge (two-step to avoid pipefail dependency)
|
||||||
RUN curl -s -L "https://github.com/RSS-Bridge/rss-bridge/tarball/master/" | tar -zx --strip=1 -C /app/public
|
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
|
# Configure RSS-Bridge
|
||||||
RUN echo "*" > "/app/public/whitelist.txt" && \
|
RUN echo "*" > "/app/public/whitelist.txt" && \
|
||||||
|
|||||||
Reference in New Issue
Block a user