Browse Source

docker fixes

develop
Robin Thoni 8 years ago
parent
commit
cd99dd96d9
2 changed files with 7 additions and 5 deletions
  1. 7
    3
      docker/Dockerfile
  2. 0
    2
      docker/composer.json

+ 7
- 3
docker/Dockerfile View File

4
 
4
 
5
 # Build php
5
 # Build php
6
 # ======================================================================================================================
6
 # ======================================================================================================================
7
+
7
 ENV PHPIZE_DEPS \
8
 ENV PHPIZE_DEPS \
8
             autoconf \
9
             autoconf \
9
             file \
10
             file \
102
         && rm -rf /var/www/* \
103
         && rm -rf /var/www/* \
103
         && chown -R www-data:www-data /var/www
104
         && chown -R www-data:www-data /var/www
104
 
105
 
105
-COPY php-cli.ini "${PHP_INI_DIR}"/
106
-COPY php-apache.ini "${PHP_INI_DIR}"/php-apache2handler.ini
107
-
108
 RUN pecl install pthreads
106
 RUN pecl install pthreads
109
 
107
 
110
 # Install Composer
108
 # Install Composer
127
         && rm -rf /var/lib/apt/lists/* \
125
         && rm -rf /var/lib/apt/lists/* \
128
         && docker-php-ext-install pdo pdo_pgsql pgsql
126
         && docker-php-ext-install pdo pdo_pgsql pgsql
129
 
127
 
128
+# Install PHP config files
129
+# ======================================================================================================================
130
+
131
+COPY php-cli.ini "${PHP_INI_DIR}"/
132
+COPY php-apache.ini "${PHP_INI_DIR}"/php-apache2handler.ini
133
+
130
 # Run everything
134
 # Run everything
131
 # ======================================================================================================================
135
 # ======================================================================================================================
132
 
136
 

+ 0
- 2
docker/composer.json View File

1
-{
2
-}

Loading…
Cancel
Save