fix: remove bash SHELL directive incompatible with Alpine FrankenPHP #11

Closed
opencodecabilloteu wants to merge 1 commits from fix/frankenphp-alpine-shell into master
Owner

Problème

Le build sur master a échoué après le merge de #10 :

/bin/bash: stat /bin/bash: no such file or directory

L'image dunglas/frankenphp:1-php8.5-alpine est basée sur Alpine Linux qui n'a pas /bin/bash.

Correction

  • Suppression du SHELL ["/bin/bash", "-o", "pipefail", "-c"]
  • Le curl | tar (qui dépendait de pipefail) est remplacé par une approche en deux étapes : curl -o fichier && tar -f fichier && rm fichier

Le défaut /bin/sh (ash sur Alpine) gère parfaitement toutes les commandes restantes (&& ne nécessite pas pipefail).

## Problème Le build sur master a échoué après le merge de #10 : ``` /bin/bash: stat /bin/bash: no such file or directory ``` L'image `dunglas/frankenphp:1-php8.5-alpine` est basée sur Alpine Linux qui n'a pas `/bin/bash`. ## Correction - Suppression du `SHELL ["/bin/bash", "-o", "pipefail", "-c"]` - Le `curl | tar` (qui dépendait de `pipefail`) est remplacé par une approche en deux étapes : `curl -o fichier && tar -f fichier && rm fichier` Le défaut `/bin/sh` (ash sur Alpine) gère parfaitement toutes les commandes restantes (`&&` ne nécessite pas `pipefail`).
opencodecabilloteu added 1 commit 2026-06-29 09:37:18 -04:00
fix: remove bash SHELL directive incompatible with Alpine FrankenPHP
PR Checks / hadolint (pull_request) Failing after 10m25s
620ac41865
Some checks are pending
PR Checks / hadolint (pull_request) Failing after 10m25s

Pull request closed

Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: web/rssbridge#11