فهرست منبع

Fixed implementation of grunt

Mark Shust 5 سال پیش
والد
کامیت
2fc6a981d3
4فایلهای تغییر یافته به همراه9 افزوده شده و 7 حذف شده
  1. 6 4
      README.md
  2. 1 1
      compose/bin/grunt
  3. 1 1
      images/php/7.2/Dockerfile
  4. 1 1
      images/php/7.3/Dockerfile

+ 6 - 4
README.md

@@ -48,12 +48,14 @@ View Dockerfiles:
       - [`1.13-0`](https://github.com/markshust/docker-magento/tree/11.0.0/images/nginx/1.13)
 - [markoshust/magento-php (Docker Hub)](https://hub.docker.com/r/markoshust/magento-php/)
   - 7.3
-      - [`latest`, `7.3-fpm`, `7.3-fpm-3`](https://github.com/markshust/docker-magento/tree/master/images/php/7.3)
-      - [`7.3-fpm-1`](https://github.com/markshust/docker-magento/tree/27.2.0/images/php/7.3)
+      - [`latest`, `7.3-fpm`, `7.3-fpm-4`](https://github.com/markshust/docker-magento/tree/master/images/php/7.3)
+      - [`7.3-fpm-3`](https://github.com/markshust/docker-magento/tree/28.0.0/images/php/7.3)
+      - [`7.3-fpm-2`](https://github.com/markshust/docker-magento/tree/27.2.0/images/php/7.3)
       - [`7.3-fpm-1`](https://github.com/markshust/docker-magento/tree/26.0.0/images/php/7.3)
       - [`7.3-fpm-0`](https://github.com/markshust/docker-magento/tree/24.2.0/images/php/7.3)
   - 7.2
-      - [`7.2-fpm`, `7.2-fpm-6`](https://github.com/markshust/docker-magento/tree/master/images/php/7.2)
+      - [`7.2-fpm`, `7.2-fpm-7`](https://github.com/markshust/docker-magento/tree/master/images/php/7.2)
+      - [`7.2-fpm-6`](https://github.com/markshust/docker-magento/tree/28.0.0/images/php/7.2)
       - [`7.2-fpm-5`](https://github.com/markshust/docker-magento/tree/27.2.0/images/php/7.2)
       - [`7.2-fpm-4`](https://github.com/markshust/docker-magento/tree/26.0.0/images/php/7.2)
       - [`7.2-fpm-3`](https://github.com/markshust/docker-magento/tree/24.2.0/images/php/7.2)
@@ -210,7 +212,7 @@ You'll now have an updated `bin/update` helper script, and can run it to update
 - `bin/download`: Download & extract specific Magento version to the `src` directory. Ex. `bin/download 2.3.3`
 - `bin/fixowns`: This will fix filesystem ownerships within the container.
 - `bin/fixperms`: This will fix filesystem permissions within the container.
-- `bin/grunt`: Run the grunt binary. Note that this runs the version from the node_modules directory for project version parity. Ex. `bin/grunt exec`
+- `bin/grunt`: Run the grunt binary. Ex. `bin/grunt exec`
 - `bin/magento`: Run the Magento CLI. Ex: `bin/magento cache:flush`
 - `bin/n98-magerun2`: Access the n98 magerun CLI. Ex: `bin/n98-magerun2 dev:console`
 - `bin/node`: Run the node binary. Ex. `bin/node --version`

+ 1 - 1
compose/bin/grunt

@@ -1,2 +1,2 @@
 #!/bin/bash
-bin/cli node_modules/grunt/bin/grunt "$@"
+bin/cli grunt "$@"

+ 1 - 1
images/php/7.2/Dockerfile

@@ -67,7 +67,7 @@ RUN apt-get install -y gnupg \
   && apt-get install -y nodejs \
   && mkdir /var/www/.config /var/www/.npm \
   && chown app:app /var/www/.config /var/www/.npm \
-  && ln -s /var/www/html/node_modules/grunt/bin/grunt /usr/bin/grunt
+  && npm install -g grunt-cli
 
 RUN curl -sSLO https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendmail_linux_amd64 \
   && chmod +x mhsendmail_linux_amd64 \

+ 1 - 1
images/php/7.3/Dockerfile

@@ -69,7 +69,7 @@ RUN apt-get install -y gnupg \
   && apt-get install -y nodejs \
   && mkdir /var/www/.config /var/www/.npm \
   && chown app:app /var/www/.config /var/www/.npm \
-  && ln -s /var/www/html/node_modules/grunt/bin/grunt /usr/bin/grunt
+  && npm install -g grunt-cli
 
 RUN curl -sSLO https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendmail_linux_amd64 \
   && chmod +x mhsendmail_linux_amd64 \