forked from alefesouza/laravel-vue-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
21 lines (15 loc) · 786 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM php:7.0.30-apache
LABEL maintainer="Alefe Souza <[email protected]>"
RUN a2enmod rewrite
RUN apt-get update \
&& apt-get install -y zlib1g-dev libicu-dev wget gnupg g++ git openssh-client libpng-dev \
&& docker-php-ext-configure intl \
&& docker-php-ext-install intl pdo_mysql zip
RUN pecl install xdebug-2.5.5 && docker-php-ext-enable xdebug
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash - \
&& curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
&& echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
RUN apt-get update \
&& apt-get install -y nodejs \
&& apt-get install -y yarn
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer