Add: default-storage-engine as my.cnf / Fix: gd config
This commit is contained in:
+2
-1
@@ -7,6 +7,7 @@ WORKDIR /var/www/html
|
||||
# Install packages(apt)
|
||||
RUN apt-get update
|
||||
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 libjpeg62-turbo-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 {} \;
|
||||
|
||||
# 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 pdo_mysql
|
||||
RUN docker-php-ext-install mysqli
|
||||
|
||||
Reference in New Issue
Block a user