rpiambulance / website

RPI Ambulance's website—a work in progress
http://rpiambulance.com/
3 stars 13 forks source link

add zip and unzip to website Dockerfile for composer package installation #91

Closed MasterOdin closed 4 years ago

MasterOdin commented 4 years ago

When installing packages where zip and unzip are missing, Docker outputs this as part of the build log:

Loading composer repositories with package information
Installing dependencies from lock file
Package operations: 13 installs, 0 updates, 0 removals
    Failed to download phpseclib/phpseclib 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 phpseclib/phpseclib (2.0.21): Cloning 9f1287e68b from cache
    Failed to download psr/log from dist: The zip extension and unzip command are both missing, skipping.
...

where this is repeated for many packages that attempt to be installed.