Skip to content

Instantly share code, notes, and snippets.

View Ryandinulfatah12's full-sized avatar
🐴
Everything will be allright

Ryan Dinul Fatah Ryandinulfatah12

🐴
Everything will be allright
View GitHub Profile
@ChewySalmon
ChewySalmon / Dockerfile
Created July 11, 2021 08:50
Laravel development Docker setup using PHP 8+, Apache, MySql 8+, PhpMyAdmin and Mailhog. Includes relevant application Dockerfile and the Compose file. [GD edition]
FROM php:8.0-apache
RUN apt-get update && apt-get install -y \
libfreetype6-dev \
libjpeg-dev \
libpng-dev \
libwebp-dev \
--no-install-recommends \
&& docker-php-ext-enable opcache \
&& docker-php-ext-configure gd --with-freetype --with-jpeg \