File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -20,12 +20,17 @@ RUN cd /var/www/chamilo/www;chown -R www-data:www-data app main/default_course_d
20
20
# Get Composer (putting the download in /root is discutible)
21
21
RUN cd /root
22
22
RUN curl -sS https://getcomposer.org/installer | php
23
+ RUN chmod +x composer.phar
24
+ RUN mv composer.phar /usr/local/bin/composer
23
25
24
26
# Get Chash
25
27
RUN cd /root
26
28
RUN git clone https://github.com/chamilo/chash
27
29
RUN cd chash
28
- RUN composer update && composer install
30
+ RUN composer update --no-dev
31
+ RUN php -d phar.readonly=0 createPhar.php
32
+ RUN chmod +x chash.phar
33
+ RUN mv chash.phar /usr/local/bin/chash
29
34
30
35
# Go to Chamilo folder and install
31
36
# Soon... (this involves having a SQL server in a linked container)
You can’t perform that action at this time.
0 commit comments