Compare commits

..

No commits in common. "b5f3402fe880dc2829ee10ec45464fe82472f168" and "90a818b3a87f80615eb677e45a52bae296ff137e" have entirely different histories.

2 changed files with 8 additions and 29 deletions

View File

@ -36,4 +36,4 @@ networks:
laravel-back-network: laravel-back-network:
driver: bridge driver: bridge
# docker build -t laravel/zarif:v1 ./php # docker build -t laravel/docker:v1 ./php

View File

@ -1,42 +1,21 @@
FROM php:8.0-apache FROM php:8.0-apache
RUN apt-get update \ RUN apt update && apt install -y \
&& apt-get -y upgrade --no-install-recommends \ g++ \
&& 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 \
--no-install-recommends \ nano \
&& apt-get clean && rm -rf /var/lib/apt/lists/* mariadb-client
RUN docker-php-ext-configure gd \ RUN docker-php-ext-install \
--with-freetype \
--with-jpeg \
&& docker-php-ext-install -j$(nproc) \
gd \
bcmath \
intl \ intl \
mbstring \ opcache \
pcntl \
pdo \ pdo \
pdo_mysql \ pdo_mysql \
zip pgsql
WORKDIR /var/www/laravel_docker WORKDIR /var/www/laravel_docker