forked from cakephp/phinx
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
27 lines (23 loc) · 460 Bytes
/
Dockerfile
File metadata and controls
27 lines (23 loc) · 460 Bytes
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
FROM php:7.2
# system dependecies
RUN apt-get update && apt-get install -y \
git \
libicu-dev \
libpq-dev \
unzip \
zlib1g-dev \
libonig-dev \
libzip-dev
# PHP dependencies
RUN docker-php-ext-install \
intl \
mbstring \
pdo \
pdo_mysql \
pdo_pgsql \
zip
# composer
RUN curl -sS https://getcomposer.org/installer | php && \
mv composer.phar /usr/local/bin/composer
ENV COMPOSER_ALLOW_SUPERUSER=1
WORKDIR /src