Dockerfile 797 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM php:5.6-apache-stretch
RUN mkdir /persist
RUN apt-get update
# RUN apt-get upgrade
# RUN apt-get install wget -y
RUN apt-get install -y nano git bsdtar curl zip unzip
RUN curl -sS https://getcomposer.org/installer | php
RUN mv composer.phar /usr/local/bin/composer

RUN cp /usr/local/etc/php/php.ini-development /usr/local/etc/php/php.ini

RUN curl -sS https://get.symfony.com/cli/installer | bash
RUN export PATH="$HOME/.symfony/bin:$PATH"
RUN mv /root/.symfony/bin/symfony /usr/local/bin/symfony

WORKDIR /var/www/html
RUN git clone https://gitlab-fil.univ-lille.fr/mikael.salson/alecsia.git
WORKDIR cd alecsia
# RUN rm composer.lock
# RUN COMPOSER_MEMORY_LIMIT=-1 composer install

# php vendor/sensio/distribution-bundle/Sensio/Bundle/DistributionBundle/Resources/bin/build_bootstrap.php