Update dockerfile for deployment
This commit is contained in:
parent
626d9c7487
commit
02dd1fe402
2 changed files with 12 additions and 1940 deletions
|
@ -1,2 +1,12 @@
|
|||
FROM php:5.6-apache
|
||||
COPY php.ini /usr/local/etc/php/
|
||||
FROM raphiz/drone-php:5.5.20
|
||||
|
||||
RUN apt-get -yqq update
|
||||
RUN apt-get -yqq install libcurl4-gnutls-dev zlib1g-dev
|
||||
RUN apt-get -yqq install lftp
|
||||
RUN docker-php-ext-install curl zip
|
||||
|
||||
# Set Timezone
|
||||
RUN echo 'date.timezone = "Europe/Zurich"' > /usr/local/etc/php/conf.d/timezone.ini
|
||||
|
||||
# Remove warning PHP Warning: Module 'curl' already loaded in Unknown on line 0
|
||||
RUN rm /usr/local/etc/php/conf.d/ext-curl.ini
|
||||
|
|
1938
apache/php.ini
1938
apache/php.ini
File diff suppressed because it is too large
Load diff
Reference in a new issue