pascal.pp 3 years ago
parent
commit
7b38368009
1 changed files with 1 additions and 17 deletions
  1. 1
    17
      bin/webserver/Dockerfile

+ 1
- 17
bin/webserver/Dockerfile View File

@@ -3,7 +3,7 @@ FROM php:5.6-apache
3 3
 RUN apt-get -y update && apt-get upgrade -y
4 4
 
5 5
 # Install tools && libraries
6
-RUN apt-get -y install --fix-missing apt-utils nano wget dialog cron \
6
+RUN apt-get -y install --fix-missing apt-utils nano wget dialog \
7 7
     build-essential git curl libcurl3 libcurl3-dev zip \
8 8
     libmcrypt-dev libsqlite3-dev libsqlite3-0 mysql-client \
9 9
     zlib1g-dev libicu-dev libfreetype6-dev libjpeg62-turbo-dev libpng-dev \
@@ -32,22 +32,6 @@ RUN docker-php-ext-install curl \
32 32
 # Enable apache modules
33 33
 RUN a2enmod rewrite headers
34 34
 
35
-# Copy hello-cron file to the cron.d directory
36
-#COPY hello-cron /etc/cron.d/hello-cron
37
-
38
-# Give execution rights on the cron job
39
-#RUN chmod 0644 /etc/cron.d/hello-cron
40
-
41
-# Apply cron job
42
-#RUN crontab /etc/cron.d/hello-cron
43
-
44
-# Create the log file to be able to run tail
45
-RUN touch /var/log/cron.log
46
-
47
-# Run the command on container startup
48
-CMD cron && tail -f /var/log/cron.log
49
-
50
-
51 35
 EXPOSE 80
52 36
 
53 37
 ENTRYPOINT ["/usr/sbin/apache2ctl", "-D", "FOREGROUND"]

Loading…
Cancel
Save