File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -20,12 +20,12 @@ COPY bin/php.ini /usr/local/etc/php/php.ini
2020## download & install Magento
2121ARG MAGENTO_VERSION
2222
23- RUN cd /tmp && curl -O https://demos.algolia.com/downloads /magento-$MAGENTO_VERSION.tar.gz && tar xf magento-$MAGENTO_VERSION.tar.gz && mv magento/* magento/.htaccess /var/www/htdocs
23+ RUN cd /tmp && curl -O https://demos-cdn .algolia.com/magento/archive /magento-$MAGENTO_VERSION.tar.gz && tar xf magento-$MAGENTO_VERSION.tar.gz && mv magento/* magento/.htaccess /var/www/htdocs
2424COPY ./bin/install-magento /usr/local/bin/install-magento
2525RUN chmod +x /usr/local/bin/install-magento
2626
2727## sample dataset import
28- RUN cd /tmp && curl -O https://demos.algolia.com/downloads /magento-sample-data-1.9.0.0.tar.gz && tar xf magento-sample-data-1.9.0.0.tar.gz
28+ RUN cd /tmp && curl -O https://demos-cdn .algolia.com/magento/archive /magento-sample-data-1.9.0.0.tar.gz && tar xf magento-sample-data-1.9.0.0.tar.gz
2929RUN cd /var/www/htdocs/media && cp -R /tmp/magento-sample-data-1.9.0.0/media/* . && chmod -R 777 /var/www/htdocs/media
3030RUN cd /var/www/htdocs/skin && cp -R /tmp/magento-sample-data-1.9.0.0/skin/* .
3131RUN chown -R www-data:www-data /var/www/htdocs
You can’t perform that action at this time.
0 commit comments