geerlingguy / drupal-container

Drupal container for running Drupal sites with Docker, built with Ansible.
https://hub.docker.com/r/geerlingguy/drupal/
44 stars 27 forks source link

Zip / unarchive utility is not present on ARM build #11

Closed geerlingguy closed 5 years ago

geerlingguy commented 5 years ago

In a similar vein to #10 - without unzip / untar utilities, composer doesn't do a whole lot (especially without git as well.

I just ran a composer require and got:

# composer require drush/drush
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Using version ^9.5 for drush/drush
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 26 installs, 0 updates, 0 removals
    Failed to download webmozart/assert from dist: The zip extension and unzip command are both missing, skipping.
Your command-line PHP is using multiple ini files. Run `php --ini` to show them.
    Now trying to download from source
  - Installing webmozart/assert (1.4.0): Cloning 83e253c8e0

  [RuntimeException]                                                                                                   
  Failed to clone https://github.com/webmozart/assert.git, git was not found, check that it is installed and in your   
  PATH env.                                                                                                            

  sh: 1: git: not found 

So I should install an unzip-like utility in the ARM build so it works with Composer commands.

geerlingguy commented 5 years ago

Building new container version locally...

geerlingguy commented 5 years ago

Pushing...