RobLoach / drush-docker

:whale: Docker Container to run Drush
http://registry.hub.docker.com/u/drush/drush
Other
19 stars 19 forks source link

Update patch to prevent failed drush make builds. #31

Closed sylus closed 8 years ago

sylus commented 8 years ago

Looks like something I missed in alpine update but is working for the most part!

I just ran drush with:

docker run -v /data/var/www/$DOMAIN:/app drush/drush:alpine make --yes --working-copy --no-gitinfofile ... etc

However the patch options needed by drush are not in default alpine.

patch: unrecognized option: no-backup-if-mismatch                       [notice]
BusyBox v1.24.1 (2015-12-16 08:00:02 GMT) multi-call binary.

Usage: patch [OPTIONS] [ORIGFILE [PATCHFILE]]

    -p,--strip N        Strip N leading components from file names
    -i,--input DIFF     Read DIFF instead of stdin
    -R,--reverse        Reverse patch
    -N,--forward        Ignore already applied patches
    -E,--remove-empty-files Remove output files if they become empty

Unable to patch drupal with drupal-865536-204.patch.                     [error]

Adding patch to the base image fixed the issue ^_^.

sylus commented 8 years ago

Thanks so much! drush make works perfect now!