Open thekid opened 2 years ago
Deal with libonig.so.2 in layer - 🤔
Pref packs it into the layer file (which has a total size of almost 9 megabytes) and compiles PHP with LDFLAGS="-L${INSTALL_DIR}/lib64 -L${INSTALL_DIR}/lib, see https://github.com/brefphp/bref/blob/master/runtime/base/php-81.Dockerfile
$ unzip -l 'C:\Users\timmf\Downloads\php-81-9329ecc5-0e5a-4b68-bb10-af7a1cd9c88f.zip' | grep onig
577752 09-24-2021 17:50 bref/lib/libonig.so.5.1.0
16 09-24-2021 17:41 bref/lib/libonig.so
16 09-24-2021 17:41 bref/lib/libonig.so.5