1
0
Fork 0
mirror of https://github.com/mlocati/docker-php-extension-installer synced 2025-05-10 17:12:39 +00:00

Mark pre-installed required APT/APK packages as used

Test: zip
This commit is contained in:
Michele Locati 2021-07-02 14:33:43 +02:00
parent 57528a4e76
commit a226dc2b5e
No known key found for this signature in database
GPG key ID: 98B7CE2E7234E28B
4 changed files with 111 additions and 24 deletions

12
scripts/ci-markused-alpine Executable file
View file

@ -0,0 +1,12 @@
#!/bin/sh
# Let's set a sane environment
set -o errexit
set -o nounset
apk update
apk del libzip
apk add ebook-tools # <- uses libzip
CI=true ./install-php-extensions zip # <- uses libzip
apk del ebook-tools
php --ri zip

16
scripts/ci-markused-buster Executable file
View file

@ -0,0 +1,16 @@
#!/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