Add: default-storage-engine as my.cnf / Fix: gd config
This commit is contained in:
@@ -2,3 +2,4 @@
|
|||||||
sql-mode = NO_ENGINE_SUBSTITUTION,NO_AUTO_VALUE_ON_ZERO
|
sql-mode = NO_ENGINE_SUBSTITUTION,NO_AUTO_VALUE_ON_ZERO
|
||||||
character-set-server = utf8mb4
|
character-set-server = utf8mb4
|
||||||
collation-server = utf8mb4_general_ci
|
collation-server = utf8mb4_general_ci
|
||||||
|
default-storage-engine = InnoDB
|
||||||
|
|||||||
+2
-1
@@ -7,6 +7,7 @@ WORKDIR /var/www/html
|
|||||||
# Install packages(apt)
|
# Install packages(apt)
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
RUN apt-get install -y dos2unix
|
RUN apt-get install -y dos2unix
|
||||||
|
RUN apt-get install -y libwebp-dev
|
||||||
RUN apt-get install -y libpng-dev
|
RUN apt-get install -y libpng-dev
|
||||||
RUN apt-get install -y libjpeg62-turbo-dev
|
RUN apt-get install -y libjpeg62-turbo-dev
|
||||||
RUN apt-get install -y libfreetype6-dev
|
RUN apt-get install -y libfreetype6-dev
|
||||||
@@ -24,7 +25,7 @@ COPY src /usr/src/app
|
|||||||
RUN find /usr/src/app/ -type f -exec dos2unix {} \;
|
RUN find /usr/src/app/ -type f -exec dos2unix {} \;
|
||||||
|
|
||||||
# Install packages(php)
|
# Install packages(php)
|
||||||
RUN docker-php-ext-configure gd --with-freetype --with-jpeg
|
RUN docker-php-ext-configure gd --with-freetype --with-webp
|
||||||
RUN docker-php-ext-install gd
|
RUN docker-php-ext-install gd
|
||||||
RUN docker-php-ext-install pdo_mysql
|
RUN docker-php-ext-install pdo_mysql
|
||||||
RUN docker-php-ext-install mysqli
|
RUN docker-php-ext-install mysqli
|
||||||
|
|||||||
Reference in New Issue
Block a user