Skip to content

Commit

Permalink
7.4
Browse files Browse the repository at this point in the history
  • Loading branch information
ydtg1993 committed Jul 16, 2023
1 parent 439f9f2 commit ff975ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion compose.dockerfiles/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
- "3306:3306"
volumes:
- ./../../server/mysql/conf:/etc/mysql
- ./../../server/mysql/database:/var/lib/mysql
- ./../../server/mysql/data:/var/lib/mysql
- ./../../server/mysqlback:/var/lib/mysqlback
environment:
MYSQL_ROOT_PASSWORD: 123456
Expand Down
4 changes: 2 additions & 2 deletions compose.dockerfiles/php/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM php:7.4-fpm
FROM php:7.2-fpm
MAINTAINER goozp "[email protected]"

ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

RUN apt-get update && apt-get install -y build-essential libssl-dev zlib1g-dev libpng-dev libjpeg-dev libfreetype6-dev libzip-dev libjpeg62-turbo-dev libpng-dev zip unzip curl libcurl4-openssl-dev libonig-dev vim

RUN docker-php-ext-configure gd --with-freetype --with-jpeg \
RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
&& docker-php-ext-install -j$(nproc) gd \
&& docker-php-ext-install pdo_mysql \
&& docker-php-ext-install mysqli \
Expand Down

0 comments on commit ff975ee

Please sign in to comment.