Skip to content

Commit f32e91a

Browse files
committed
Updated to build 101.
1 parent 724c37c commit f32e91a

File tree

7 files changed

+10
-10268
lines changed

7 files changed

+10
-10268
lines changed

Dockerfile

-8
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,6 @@ ADD config/composer.json /var/www/magento2/composer.json
3232
ADD scripts/install-magento2 /var/www/install-magento2
3333
RUN bash -x /var/www/install-magento2
3434

35-
# Add images used for demo queries.
36-
ADD media/MJ01-YE_main_cropped.jpg /var/www/magento2/htdocs/pub/media/catalog/product/m/j/mj01-ye_main_cropped.jpg
37-
ADD media/MJ01-YE_back_cropped.jpg /var/www/magento2/htdocs/pub/media/catalog/product/m/j/mj01-ye_back_cropped.jpg
38-
ADD media/MJ03-GN_main_cropped.jpg /var/www/magento2/htdocs/pub/media/catalog/product/m/j/mj03-gn_main_cropped.jpg
39-
ADD media/MJ07-BL_main_cropped.jpg /var/www/magento2/htdocs/pub/media/catalog/product/m/j/mj07-bl_main_cropped.jpg
40-
ADD dump/magento2.sql /var/www/magento2/magento2.sql
41-
RUN chown www-data:www-data -R /var/www/magento2/htdocs/pub/media/catalog
42-
4335
# Expose the web server port
4436
EXPOSE 80
4537

README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ several additional environment variables.
2828
docker run --rm --name magento2 -p 80:80 --link mysql:mysql \
2929
-e MYSQL_USER=root -e MYSQL_PASSWORD=admin \
3030
-e PUBLIC_HOST=yourhost.example.com \
31-
alankent/docker-magento2-demo-apache:0.1.0-alpha100
31+
alankent/docker-magento2-demo-apache:0.1.0-alpha101
3232

3333
When this container is started, it loops waiting for a succesful
3434
connection to the MySQL database. Once achieved it runs a PHP script
@@ -53,3 +53,6 @@ intended for production usage!)
5353

5454
Be aware if you start a new container instance, it will wipe the
5555
database and start again.
56+
57+
This script currently does not load up any products - it is more to
58+
demonstrate the installation steps. Sample data is "coming soon".

build.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ docker build -t docker-magento2-demo-apache .
44

55
echo To publish use:
66
echo docker tag docker-magento2-demo-apache alankent/docker-magento2-demo-apache
7-
echo docker tag docker-magento2-demo-apache alankent/docker-magento2-demo-apache:0.1.0-alpha100
8-
echo docker push alankent/docker-magento2-demo-apache:0.1.0-alpha100
7+
echo docker tag docker-magento2-demo-apache alankent/docker-magento2-demo-apache:0.1.0-alpha101
8+
echo docker push alankent/docker-magento2-demo-apache:0.1.0-alpha101

config/composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "alankent/store",
33
"require": {
44
"magento/magento-composer-installer": "*",
5-
"magento/product-community-edition": "0.1.0-alpha100"
5+
"magento/product-community-edition": "0.1.0-alpha101"
66
},
77
"repositories": [
88
{

dump/magento2.sql

-10,248
This file was deleted.

scripts/install-magento2

+2-4
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,15 @@ mkdir -p htdocs
1010
curl -sS https://getcomposer.org/installer | php
1111
php composer.phar install --profile
1212

13-
# TEMPORARY FIX - a unit test snuck into alpha99 in wrong directory
14-
rm -rf htdocs/app/code/Magento/CatalogSearch/Model/Search/CatalogTest.php
15-
1613
cd htdocs
1714
php -f dev/tools/Magento/Tools/View/deploy.php
1815
php -f dev/tools/Magento/Tools/Di/compiler.php
1916

2017
# Use developer mode to get more detailed error diagnostics, at least for now.
21-
#echo "SetEnv MAGE_MODE production" >> .htaccess
2218
echo "SetEnv MAGE_MODE developer" >> .htaccess
19+
#echo "SetEnv MAGE_MODE production" >> .htaccess
2320

21+
# Setup script is independent to main site - set it up too.
2422
cd setup
2523
COMPOSER_PROCESS_TIMEOUT=1000 php ../../composer.phar install --profile
2624

scripts/runserver

+1-4
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,12 @@ if [ ! -f /var/www/magento2/htdocs/app/etc/local.xml ]; then
3232
--currency=USD \
3333
--admin_lastname=Smith \
3434
--admin_firstname=John \
35-
--admin_email=a@m.com \
35+
--admin_email=john.smith@example.com \
3636
--admin_username=admin \
3737
--admin_password=admin123 \
3838
--use_secure=0
3939
)
4040
fi
4141

42-
# Until the sample data loading script is available, load up this database dump.
43-
#mysql $MYSQLAUTH magento2 < /var/www/magento2/magento2.sql
44-
4542
# Run the web server
4643
exec /usr/sbin/apache2 -D FOREGROUND

0 commit comments

Comments
 (0)