Skip to content

Commit 2e989b4

Browse files
committed
Patch drush 8.4.8 for PHP 8.1 and make it slimer
1 parent e3dbf55 commit 2e989b4

File tree

9 files changed

+3377
-4
lines changed

9 files changed

+3377
-4
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
drupal
22
db
33
.idea
4+
drush.phar
5+
drush.phar.bak

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,9 @@ build:
2323
push:
2424
@echo "Pushing images for tags: $(TAGS)"
2525
set -e; for i in $(TAGS); do printf "\nPushing $(NAME):$$i \n\n"; docker push $(NAME):$$i; done
26+
27+
drush:
28+
# docker run --rm -u $(shell id -u):$(shell id -g) -v $(CURDIR)/drush8:/srv $(NAME):81 time sh slim-drush.sh
29+
docker run --rm -u $(shell id -u):$(shell id -g) -v $(CURDIR)/drush8:/srv $(NAME):81 time php -dphar.readonly=0 slim-drush.php
30+
cp drush8/drush.phar php8
31+
cp drush8/drush.phar php81

0 commit comments

Comments
 (0)