File tree Expand file tree Collapse file tree 4 files changed +52
-12
lines changed Expand file tree Collapse file tree 4 files changed +52
-12
lines changed Original file line number Diff line number Diff line change 1- FROM  mcr.microsoft.com/oryx/php:5.6-20190607.1 
1+ FROM  mcr.microsoft.com/oryx/php:5.6-20190708.2 
22LABEL  maintainer=
"Azure App Services Container Images <[email protected] >" 33
44ENV  PHP_VERSION 5.6
@@ -34,13 +34,23 @@ ENV PATH ${PATH}:/home/site/wwwroot
3434RUN  sed -i 's!ErrorLog ${APACHE_LOG_DIR}/error.log!ErrorLog /dev/stderr!g'  /etc/apache2/apache2.conf 
3535RUN  sed -i 's!User ${APACHE_RUN_USER}!User www-data!g'  /etc/apache2/apache2.conf 
3636RUN  sed -i 's!User ${APACHE_RUN_GROUP}!Group www-data!g'  /etc/apache2/apache2.conf 
37- 
3837RUN  { \
3938   echo 'DocumentRoot /home/site/wwwroot' ; \
4039   echo 'DirectoryIndex default.htm default.html index.htm index.html index.php hostingstart.html' ; \
4140   echo 'ServerName localhost' ; \
42-    echo 'CustomLog /dev/stdout  combined' ; \
41+    echo 'CustomLog /dev/stderr  combined' ; \
4342} >> /etc/apache2/apache2.conf
43+ RUN  rm -f /usr/local/etc/php/conf.d/php.ini \
44+    && { \
45+                 echo 'error_log=/dev/stderr' ; \
46+                 echo 'display_errors=Off' ; \
47+                 echo 'log_errors=On' ; \
48+                 echo 'display_startup_errors=Off' ; \
49+                 echo 'date.timezone=UTC' ; \
50+                 echo 'zend_extension=opcache' ; \
51+     } > /usr/local/etc/php/conf.d/php.ini
52+ 
53+ RUN  rm -f /etc/apache2/conf-enabled/other-vhosts-access-log.conf
4454
4555WORKDIR  /home/site/wwwroot
4656
Original file line number Diff line number Diff line change 1- FROM  mcr.microsoft.com/oryx/php:7.0-20190607.1 
1+ FROM  mcr.microsoft.com/oryx/php:7.0-20190708.2 
22LABEL  maintainer=
"Azure App Services Container Images <[email protected] >" 33
44ENV  PHP_VERSION 7.0
@@ -34,13 +34,23 @@ ENV PATH ${PATH}:/home/site/wwwroot
3434RUN  sed -i 's!ErrorLog ${APACHE_LOG_DIR}/error.log!ErrorLog /dev/stderr!g'  /etc/apache2/apache2.conf 
3535RUN  sed -i 's!User ${APACHE_RUN_USER}!User www-data!g'  /etc/apache2/apache2.conf 
3636RUN  sed -i 's!User ${APACHE_RUN_GROUP}!Group www-data!g'  /etc/apache2/apache2.conf 
37- 
3837RUN  { \
3938   echo 'DocumentRoot /home/site/wwwroot' ; \
4039   echo 'DirectoryIndex default.htm default.html index.htm index.html index.php hostingstart.html' ; \
4140   echo 'ServerName localhost' ; \
42-    echo 'CustomLog /dev/stdout  combined' ; \
41+    echo 'CustomLog /dev/stderr  combined' ; \
4342} >> /etc/apache2/apache2.conf
43+ RUN  rm -f /usr/local/etc/php/conf.d/php.ini \
44+    && { \
45+                 echo 'error_log=/dev/stderr' ; \
46+                 echo 'display_errors=Off' ; \
47+                 echo 'log_errors=On' ; \
48+                 echo 'display_startup_errors=Off' ; \
49+                 echo 'date.timezone=UTC' ; \
50+                 echo 'zend_extension=opcache' ; \
51+     } > /usr/local/etc/php/conf.d/php.ini
52+ 
53+ RUN  rm -f /etc/apache2/conf-enabled/other-vhosts-access-log.conf
4454
4555WORKDIR  /home/site/wwwroot
4656
Original file line number Diff line number Diff line change 1- FROM  mcr.microsoft.com/oryx/php:7.2-20190607.1 
1+ FROM  mcr.microsoft.com/oryx/php:7.2-20190708.2 
22LABEL  maintainer=
"Azure App Services Container Images <[email protected] >" 33
44ENV  PHP_VERSION 7.2
@@ -34,13 +34,23 @@ ENV PATH ${PATH}:/home/site/wwwroot
3434RUN  sed -i 's!ErrorLog ${APACHE_LOG_DIR}/error.log!ErrorLog /dev/stderr!g'  /etc/apache2/apache2.conf 
3535RUN  sed -i 's!User ${APACHE_RUN_USER}!User www-data!g'  /etc/apache2/apache2.conf 
3636RUN  sed -i 's!User ${APACHE_RUN_GROUP}!Group www-data!g'  /etc/apache2/apache2.conf 
37- 
3837RUN  { \
3938   echo 'DocumentRoot /home/site/wwwroot' ; \
4039   echo 'DirectoryIndex default.htm default.html index.htm index.html index.php hostingstart.html' ; \
4140   echo 'ServerName localhost' ; \
42-    echo 'CustomLog /dev/stdout  combined' ; \
41+    echo 'CustomLog /dev/stderr  combined' ; \
4342} >> /etc/apache2/apache2.conf
43+ RUN  rm -f /usr/local/etc/php/conf.d/php.ini \
44+    && { \
45+                 echo 'error_log=/dev/stderr' ; \
46+                 echo 'display_errors=Off' ; \
47+                 echo 'log_errors=On' ; \
48+                 echo 'display_startup_errors=Off' ; \
49+                 echo 'date.timezone=UTC' ; \
50+                 echo 'zend_extension=opcache' ; \
51+     } > /usr/local/etc/php/conf.d/php.ini
52+ 
53+ RUN  rm -f /etc/apache2/conf-enabled/other-vhosts-access-log.conf
4454
4555WORKDIR  /home/site/wwwroot
4656
Original file line number Diff line number Diff line change 1- FROM  mcr.microsoft.com/oryx/php:7.3-20190607.1 
1+ FROM  mcr.microsoft.com/oryx/php:7.3-20190708.2 
22LABEL  maintainer=
"Azure App Services Container Images <[email protected] >" 33
44ENV  PHP_VERSION 7.3
@@ -34,13 +34,23 @@ ENV PATH ${PATH}:/home/site/wwwroot
3434RUN  sed -i 's!ErrorLog ${APACHE_LOG_DIR}/error.log!ErrorLog /dev/stderr!g'  /etc/apache2/apache2.conf 
3535RUN  sed -i 's!User ${APACHE_RUN_USER}!User www-data!g'  /etc/apache2/apache2.conf 
3636RUN  sed -i 's!User ${APACHE_RUN_GROUP}!Group www-data!g'  /etc/apache2/apache2.conf 
37- 
3837RUN  { \
3938   echo 'DocumentRoot /home/site/wwwroot' ; \
4039   echo 'DirectoryIndex default.htm default.html index.htm index.html index.php hostingstart.html' ; \
4140   echo 'ServerName localhost' ; \
42-    echo 'CustomLog /dev/stdout  combined' ; \
41+    echo 'CustomLog /dev/stderr  combined' ; \
4342} >> /etc/apache2/apache2.conf
43+ RUN  rm -f /usr/local/etc/php/conf.d/php.ini \
44+    && { \
45+                 echo 'error_log=/dev/stderr' ; \
46+                 echo 'display_errors=Off' ; \
47+                 echo 'log_errors=On' ; \
48+                 echo 'display_startup_errors=Off' ; \
49+                 echo 'date.timezone=UTC' ; \
50+                 echo 'zend_extension=opcache' ; \
51+     } > /usr/local/etc/php/conf.d/php.ini
52+ 
53+ RUN  rm -f /etc/apache2/conf-enabled/other-vhosts-access-log.conf
4454
4555WORKDIR  /home/site/wwwroot
4656
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments