diff --git a/docker-compose.yml b/docker-compose.yml index 818cbf6..bde8bf0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -27,7 +27,7 @@ services: - mariadb mariadb: - image: mariadb:10.4 + image: mariadb:latest environment: - MYSQL_ROOT_PASSWORD=rootpass - MYSQL_DATABASE=flarum diff --git a/flarum-fpm.dockerfile b/flarum-fpm.dockerfile index 6c5e2a3..73999f0 100644 --- a/flarum-fpm.dockerfile +++ b/flarum-fpm.dockerfile @@ -1,4 +1,4 @@ -FROM php:7.2-fpm-alpine +FROM php:fpm-alpine RUN apk add libjpeg-turbo-dev libpng-dev freetype-dev -RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \ +RUN docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr/include/ \ && docker-php-ext-install -j$(nproc) gd pdo_mysql \ No newline at end of file