update dockerfile
This commit is contained in:
parent
90a818b3a8
commit
9edb49f0a8
@ -1,21 +1,42 @@
|
|||||||
FROM php:8.0-apache
|
FROM php:8.0-apache
|
||||||
|
|
||||||
RUN apt update && apt install -y \
|
RUN apt-get update \
|
||||||
g++ \
|
&& apt-get -y upgrade --no-install-recommends \
|
||||||
|
&& apt-get install -y \
|
||||||
|
build-essential \
|
||||||
|
imagemagick \
|
||||||
|
libfreetype6-dev \
|
||||||
libicu-dev \
|
libicu-dev \
|
||||||
|
libjpeg62-turbo-dev \
|
||||||
|
libjpeg-dev \
|
||||||
|
libmcrypt-dev \
|
||||||
|
libonig-dev \
|
||||||
|
libpng-dev \
|
||||||
libpq-dev \
|
libpq-dev \
|
||||||
|
libssl-dev \
|
||||||
|
libxml2-dev \
|
||||||
|
libxrender1 \
|
||||||
libzip-dev \
|
libzip-dev \
|
||||||
|
locales \
|
||||||
|
openssl \
|
||||||
|
unzip \
|
||||||
zip \
|
zip \
|
||||||
zlib1g-dev \
|
zlib1g-dev \
|
||||||
nano \
|
--no-install-recommends \
|
||||||
mariadb-client
|
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
RUN docker-php-ext-install \
|
RUN docker-php-ext-configure gd \
|
||||||
|
--with-freetype \
|
||||||
|
--with-jpeg \
|
||||||
|
&& docker-php-ext-install -j$(nproc) \
|
||||||
|
gd \
|
||||||
|
bcmath \
|
||||||
intl \
|
intl \
|
||||||
opcache \
|
mbstring \
|
||||||
|
pcntl \
|
||||||
pdo \
|
pdo \
|
||||||
pdo_mysql \
|
pdo_mysql \
|
||||||
pgsql
|
zip
|
||||||
|
|
||||||
WORKDIR /var/www/laravel_docker
|
WORKDIR /var/www/laravel_docker
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user