Skip to content

Commit 6f46698

Browse files
author
Jan Petr
authored
Merge pull request #881 from algolia/change_archives_urls
Change Magento archives URLs
2 parents d1367e3 + 3b24a4b commit 6f46698

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dev/Dockerfile.base

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ COPY bin/php.ini /usr/local/etc/php/php.ini
2020
## download & install Magento
2121
ARG 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
2424
COPY ./bin/install-magento /usr/local/bin/install-magento
2525
RUN 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
2929
RUN cd /var/www/htdocs/media && cp -R /tmp/magento-sample-data-1.9.0.0/media/* . && chmod -R 777 /var/www/htdocs/media
3030
RUN cd /var/www/htdocs/skin && cp -R /tmp/magento-sample-data-1.9.0.0/skin/* .
3131
RUN chown -R www-data:www-data /var/www/htdocs

0 commit comments

Comments
 (0)