File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -37,17 +37,13 @@ RUN docker-php-ext-configure pdo_mysql --with-pdo-mysql=mysqlnd \
3737 && docker-php-source delete
3838
3939# Davis installation
40-
41- RUN cd /tmp/ && curl --silent -LO https://github.com/tchapi/davis/archive/v1.0.0.zip \
42- && unzip /tmp/1.0.0.zip -d /var/www/ \
43- && rm -f /tmp/1.0.0.zip
44- RUN mv /var/www/1.0.0 /var/www/davis
40+ RUN cd /var/www/ && curl --silent -o v1.0.0.tar.gz -L https://github.com/tchapi/davis/archive/v1.0.0.tar.gz \
41+ && tar xvzf v1.0.0.tar.gz \
42+ && mv /var/www/davis-1.0.0 /var/www/davis \
43+ && rm v1.0.0.tar.gz
4544
4645WORKDIR /var/www/davis
4746
4847# Install dependencies
4948RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
5049RUN APP_ENV=prod composer install --no-ansi --no-dev --no-interaction --no-progress --optimize-autoloader
51-
52- RUN chown -Rf www-data:www-data .
53- RUN chmod -Rf g+w var
You can’t perform that action at this time.
0 commit comments