Created
January 7, 2025 17:26
-
-
Save DominikStyp/61646f24308d850a29de3e48d37ce0f3 to your computer and use it in GitHub Desktop.
Docker: install laravel/sail with docker run from image PHP 7.3 CLI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| docker run --rm -v $(pwd):/app -w /app php:7.3-cli bash -c " | |
| apt-get update && \ | |
| apt-get install -y libzip-dev libpng-dev libjpeg-dev sendmail-bin && \ | |
| apt-get install -y autoconf bison re2c libxml2-dev && \ | |
| pecl install mailparse && \ | |
| docker-php-ext-enable mailparse && \ | |
| docker-php-ext-install gd zip && \ | |
| curl -sS https://getcomposer.org/installer | php && \ | |
| php composer.phar install --no-scripts && \ | |
| php composer.phar require laravel/sail --dev --no-scripts" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment