File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -2,26 +2,6 @@ FROM php:5.6-apache
2
2
3
3
RUN a2enmod rewrite
4
4
5
- # copy a few things from apache's init script that it requires to be setup
6
- ENV APACHE_CONFDIR /etc/apache2
7
- ENV APACHE_ENVVARS $APACHE_CONFDIR/envvars
8
- # and then a few more from $APACHE_CONFDIR/envvars itself
9
- ENV APACHE_RUN_USER www-data
10
- ENV APACHE_RUN_GROUP www-data
11
- ENV APACHE_RUN_DIR /var/run/apache2
12
- ENV APACHE_PID_FILE $APACHE_RUN_DIR/apache2.pid
13
- ENV APACHE_LOCK_DIR /var/lock/apache2
14
- ENV APACHE_LOG_DIR /var/log/apache2
15
- ENV LANG C
16
- RUN mkdir -p $APACHE_RUN_DIR $APACHE_LOCK_DIR $APACHE_LOG_DIR
17
-
18
- # make CustomLog (access log) go to stdout instead of files
19
- # and ErrorLog to stderr
20
- RUN find "$APACHE_CONFDIR" -type f -exec sed -ri ' \
21
- s!^(\s *CustomLog)\s +\S +!\1 /proc/self/fd/1!g; \
22
- s!^(\s *ErrorLog)\s +\S +!\1 /proc/self/fd/2!g; \
23
- ' '{}' ';'
24
-
25
5
RUN rm -rf /var/www/html && mkdir /var/www/html
26
6
VOLUME /var/www/html
27
7
WORKDIR /var/www/html
You can’t perform that action at this time.
0 commit comments