@dhalucario I think I ended up getting everything happy in the meantime. Only problem now is that it won’t accept the password I set when running bin/configure.
gnu-social-db-1 | 2023-06-18 19:36:41.791 UTC [32] FATAL: password authentication failed for user "postgres" gnu-social-db-1 | 2023-06-18 19:36:41.791 UTC [32] DETAIL: Connection matched pg_hba.conf line 100: "host all all all scram-sha-256"Patch that fixed the dependency and version issues:
diff --git a/docker/php/Dockerfile b/docker/php/Dockerfile index 534237a7da..14b032ab53 100644 --- a/docker/php/Dockerfile +++ b/docker/php/Dockerfile @@ -1,13 +1,16 @@ -FROM php:8-fpm-alpine +FROM php:8.1-fpm-alpine RUN apk update && apk add git autoconf make gcc g++ file gettext-dev icu-dev zlib-dev libpng-dev gmp-dev \ - mariadb-dev mariadb-client postgresql-dev postgresql-client vips-dev composer ffmpeg > /dev/null + mariadb-dev mariadb-client postgresql-dev postgresql-client vips-dev ffmpeg libxml2 \ + libxml2-dev libxml2-utils libsodium libsodium-dev bison ARG MAKEFLAGS="-j$(cat /proc/cpuinfo | grep processor | wc -l)" RUN apk add --virtual .phpize-deps $PHPIZE_DEPS -RUN docker-php-ext-install bcmath exif gd gettext gmp intl mysqli opcache pdo pdo_mysql mysqli pdo_pgsql pgsql +RUN cd /tmp && wget -O composer-setup.php https://getcomposer.org/installer && php composer-setup.php && mv composer.phar /usr/local/bin/composer && rm -f composer-setup.php + +RUN docker-php-ext-install bcmath ctype dom exif gd gettext gmp intl mysqli opcache pdo pdo_mysql mysqli pdo_pgsql pgsql sodium xml RUN cd /tmp && git clone https://github.com/krakjoe/apcu && cd apcu && phpize && ./configure --enable-apcu && make install RUN cd /tmp && git clone https://github.com/php-ds/ext-ds && cd ext-ds && phpize && ./configure && make install