Skip to content

Instantly share code, notes, and snippets.

@FraGoTe
Created November 14, 2019 19:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FraGoTe/3b124df812ea00f58dea02d16cd1157d to your computer and use it in GitHub Desktop.
Save FraGoTe/3b124df812ea00f58dea02d16cd1157d to your computer and use it in GitHub Desktop.
FROM php:7.2-apache
RUN apt-get update \
&& apt-get install -y vim \
&& apt-get install -y git zlib1g-dev \
&& apt-get install -y libxml2-dev \
&& apt-get install -y libpng-dev
# Getting
WORKDIR /var/www/
RUN git clone --progress --verbose https://github.com/FraGoTe/PrediccionDengueIquitos.git /tmp/chamilo
#
#RUN docker-php-ext-install soap pdo pdo_mysql mysqli zip intl gd mbstring dom fileinfo\
# && a2enmod rewrite \
# && echo "IncludeOptional v-host/*.conf" >> /etc/apache2/apache2.conf \
# && curl -sS https://getcomposer.org/installer \
# | php -- --install-dir=/usr/local/bin --filename=composer
# Get Chash
#RUN git clone https://github.com/chamilo/chash.git chash
#WORKDIR chash
#RUN composer update --no-dev
#RUN php -d phar.readonly=0 createPhar.php
#RUN chmod +x chash.phar && mv chash.phar /usr/local/bin/chash
COPY entrypoint.sh /entrypoint.sh
RUN chmod 0755 /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment