mirror of
https://github.com/danog/docker-php-extension-installer.git
synced 2024-12-03 09:57:52 +01:00
17 lines
370 B
Plaintext
17 lines
370 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
# Let's set a sane environment
|
||
|
set -o errexit
|
||
|
set -o nounset
|
||
|
|
||
|
DEBIAN_FRONTEND=noninteractive
|
||
|
export DEBIAN_FRONTEND
|
||
|
|
||
|
apt-get update -q
|
||
|
apt-get remove -qy --purge '^libzip[0-9]*$'
|
||
|
apt-get install -qy libepub0 # <- uses libzip
|
||
|
CI=true ./install-php-extensions zip # <- uses libzip
|
||
|
apt-get remove -qy --purge libepub0
|
||
|
apt-get autoremove -qy --purge
|
||
|
php --ri zip
|