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:
parent
57528a4e76
commit
a226dc2b5e
4 changed files with 111 additions and 24 deletions
12
scripts/ci-markused-alpine
Executable file
12
scripts/ci-markused-alpine
Executable 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
16
scripts/ci-markused-buster
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue