|
1 | | -#Arguments for stage one |
| 1 | +#Arguments for stage one |
2 | 2 | ARG BUILD_VERSION=7
|
3 | 3 |
|
4 | | -#Pull php:$version-fpm-alpine (https://store.docker.com/images/php) |
| 4 | +#Pull php:$version-fpm-alpine (https://store.docker.com/images/php) |
5 | 5 | FROM php:$BUILD_VERSION-fpm-alpine
|
6 | 6 |
|
7 | | -#Mantainer info |
| 7 | +#Mantainer info |
8 | 8 | MAINTAINER Adrian7 <adrian.silimon@yahoo.com>
|
9 | 9 |
|
10 | | -#Arguments for stage two |
| 10 | +#Arguments for stage two |
11 | 11 | ARG BUILD_CONFIG=dev
|
12 | 12 |
|
13 | | -#Install |
| 13 | +#Install |
14 | 14 |
|
15 | | -RUN apk --no-cache add libmcrypt-dev autoconf gcc freetype libpng libjpeg-turbo freetype-dev libpng-dev libjpeg-turbo-dev make libc-dev \ |
| 15 | +RUN apk --no-cache add libmcrypt-dev autoconf gcc freetype libpng libjpeg-turbo freetype-dev libpng-dev \ |
| 16 | + libjpeg-turbo-dev make libc-dev pcre-dev \ |
16 | 17 | wget git openssh nginx ca-certificates supervisor bash \
|
17 | 18 | && pecl install mcrypt-1.0.1 xdebug \
|
18 | 19 | && docker-php-ext-enable mcrypt xdebug \
|
@@ -48,7 +49,7 @@ COPY ./config-${BUILD_CONFIG}/supervisord.conf /etc/supervisord.conf
|
48 | 49 |
|
49 | 50 | COPY ./init-scripts/container.sh /home/bin/container
|
50 | 51 | COPY ./init-scripts/start.sh /start.sh
|
51 | | -COPY ./init-scripts/welcome.php /tmp/welcome.php |
| 52 | +COPY ./init-scripts/welcome.php /home/welcome.php |
52 | 53 |
|
53 | 54 | ENV PHP_BUILD_CONFIG=$BUILD_CONFIG
|
54 | 55 |
|
|
0 commit comments