Update Docker images and dependencies

pull/90/head
Teck Meng 2024-03-01 21:56:56 +08:00
parent ce8f97b8c9
commit 423e78b51d
2 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@ services:
- mariadb
mariadb:
image: mariadb:10.4
image: mariadb:latest
environment:
- MYSQL_ROOT_PASSWORD=rootpass
- MYSQL_DATABASE=flarum

View File

@ -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