Laravel failed to deploy

Hi!
today i tried to push a new version of my laravel app and i get this error

#8 56.96 Processing triggers for php8.1-cli (8.1.16+repack-1+ubuntu20.04.1+deb.sury.org+1) …
#8 56.98 Errors were encountered while processing:
#8 56.98 php8.1-fpm
#8 57.01 E: Sub-process /usr/bin/dpkg returned an error code (1)

Error failed to fetch an image or build from source: error building: executor failed running [/bin/sh -c apt-get update && apt-get install -y git curl zip unzip rsync ca-certificates vim htop cron php8.1-pgsql php-pgsql libpq-dev php8.1-bcmath php8.1-gd php8.1-zip php8.1-swoole php8.1-xml php8.1-mbstring && apt-get clean && rm -rf /var/lib/apt/lists/* RUN docker-php-ext-install pdo pdo_pgsql]: exit code: 100

my dockerfile is the same as it was last week

i managed to fix this deleting my Dockerfile and i letting flyctl build a new one based on fideloper/fly-laravel

1 Like