File tree 7 files changed +10
-10268
lines changed
7 files changed +10
-10268
lines changed Original file line number Diff line number Diff line change @@ -32,14 +32,6 @@ ADD config/composer.json /var/www/magento2/composer.json
32
32
ADD scripts/install-magento2 /var/www/install-magento2
33
33
RUN bash -x /var/www/install-magento2
34
34
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
-
43
35
# Expose the web server port
44
36
EXPOSE 80
45
37
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ several additional environment variables.
28
28
docker run --rm --name magento2 -p 80:80 --link mysql:mysql \
29
29
-e MYSQL_USER=root -e MYSQL_PASSWORD=admin \
30
30
-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
32
32
33
33
When this container is started, it loops waiting for a succesful
34
34
connection to the MySQL database. Once achieved it runs a PHP script
@@ -53,3 +53,6 @@ intended for production usage!)
53
53
54
54
Be aware if you start a new container instance, it will wipe the
55
55
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".
Original file line number Diff line number Diff line change @@ -4,5 +4,5 @@ docker build -t docker-magento2-demo-apache .
4
4
5
5
echo To publish use:
6
6
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
Original file line number Diff line number Diff line change 2
2
"name" : " alankent/store" ,
3
3
"require" : {
4
4
"magento/magento-composer-installer" : " *" ,
5
- "magento/product-community-edition" : " 0.1.0-alpha100 "
5
+ "magento/product-community-edition" : " 0.1.0-alpha101 "
6
6
},
7
7
"repositories" : [
8
8
{
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -10,17 +10,15 @@ mkdir -p htdocs
10
10
curl -sS https://getcomposer.org/installer | php
11
11
php composer.phar install --profile
12
12
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
-
16
13
cd htdocs
17
14
php -f dev/tools/Magento/Tools/View/deploy.php
18
15
php -f dev/tools/Magento/Tools/Di/compiler.php
19
16
20
17
# Use developer mode to get more detailed error diagnostics, at least for now.
21
- # echo "SetEnv MAGE_MODE production" >> .htaccess
22
18
echo " SetEnv MAGE_MODE developer" >> .htaccess
19
+ # echo "SetEnv MAGE_MODE production" >> .htaccess
23
20
21
+ # Setup script is independent to main site - set it up too.
24
22
cd setup
25
23
COMPOSER_PROCESS_TIMEOUT=1000 php ../../composer.phar install --profile
26
24
Original file line number Diff line number Diff line change @@ -32,15 +32,12 @@ if [ ! -f /var/www/magento2/htdocs/app/etc/local.xml ]; then
32
32
--currency=USD \
33
33
--admin_lastname=Smith \
34
34
--admin_firstname=John \
35
- --admin_email=a@m .com \
35
+ --admin_email=john.smith@example .com \
36
36
--admin_username=admin \
37
37
--admin_password=admin123 \
38
38
--use_secure=0
39
39
)
40
40
fi
41
41
42
- # Until the sample data loading script is available, load up this database dump.
43
- # mysql $MYSQLAUTH magento2 < /var/www/magento2/magento2.sql
44
-
45
42
# Run the web server
46
43
exec /usr/sbin/apache2 -D FOREGROUND
You can’t perform that action at this time.
0 commit comments