-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
31 lines (26 loc) · 839 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
FROM php:8.3
# Update packages and install dependencies
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
git \
curl \
libmcrypt-dev \
libjpeg-dev \
libpng-dev \
libfreetype6-dev \
libbz2-dev \
libzip-dev \
libicu-dev \
zlib1g-dev \
postgresql-client \
libpq-dev \
&& rm -rf /var/lib/apt/lists/*
# Install intl extension
RUN docker-php-ext-configure intl \
&& docker-php-ext-install intl pdo_pgsql zip
# Install Composer
RUN curl --silent --show-error "https://getcomposer.org/installer" | php -- --install-dir=/usr/local/bin --filename=composer
# Install Laravel Envoy
RUN composer global require "laravel/envoy=~1.0"
# Add Composer global bin directory to PATH
ENV PATH "$PATH:/root/.composer/vendor/bin"