Skip to content

Commit

Permalink
Add libbrotli to the cache
Browse files Browse the repository at this point in the history
  • Loading branch information
shivammathur committed Jan 3, 2025
1 parent d7c7760 commit 810208c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions scripts/extensions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ configure_extension() {
}

add_swoole() {
DEBIAN_FRONTEND=noninteractive apt-get install -y libbrotli-dev
pecl_ini_file="$(sudo pecl config-get php_ini)"
if [[ "$PHP_VERSION" =~ 7.[2-4] ]]; then
yes '' 2>/dev/null | sudo pecl install -f -D 'enable-openssl="yes" enable-sockets="yes" enable-swoole-curl="yes"' swoole-4.8.13 && configure_extension swoole
Expand Down
2 changes: 1 addition & 1 deletion scripts/install-requirements-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ DEBIAN_FRONTEND=noninteractive apt-get install -y apache2 apt-fast automake gcc
purge_packages libfile-fcntllock-perl libalgorithm-merge-perl libalgorithm-diff-xs-perl unattended-upgrades libalgorithm-diff-perl manpages-dev
DEBIAN_FRONTEND=noninteractive apt-get install -y php"${PHP_VERSION:?}"-common php"${PHP_VERSION:?}"-imagick
purge_packages php"${PHP_VERSION:?}"-imagick php"${PHP_VERSION:?}"-common php-common
DEBIAN_FRONTEND=noninteractive apt-get install -y snmp snmp-mibs-downloader firebird-dev freetds-dev libargon2-dev libaspell-dev libbrotli-dev libc-client2007e libdb-dev libexpat1-dev libhunspell-dev libjson-c-dev libkmod-dev libnorm-dev libpgm-dev libpq-dev libqdbm-dev librabbitmq-dev libsnmp-dev libssl-dev libtidy-dev libtiff-dev libtommath-dev libwebp-dev libxpm-dev libxslt1-dev libyaml-dev libzip-dev udev tzdata
DEBIAN_FRONTEND=noninteractive apt-get install -y snmp snmp-mibs-downloader firebird-dev freetds-dev libargon2-dev libaspell-dev libc-client2007e libdb-dev libexpat1-dev libhunspell-dev libjson-c-dev libkmod-dev libnorm-dev libpgm-dev libpq-dev libqdbm-dev librabbitmq-dev libsnmp-dev libssl-dev libtidy-dev libtiff-dev libtommath-dev libwebp-dev libxpm-dev libxslt1-dev libyaml-dev libzip-dev udev tzdata
purge_packages libgd3 libimagequant0 libraqm0 libavif13 libyuv0 libaom3 libdav1d5 libgav1-0 libabsl20210324 debsuryorg-archive-keyring
2 changes: 1 addition & 1 deletion scripts/install-requirements-php-builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
add_ppa

DEBIAN_FRONTEND=noninteractive apt-get install -y apache2 apt-fast automake gcc g++ git jq make pkg-config shtool libtool sudo systemd unzip
DEBIAN_FRONTEND=noninteractive apt-get install -y autoconf firebird-dev freetds-dev libacl1-dev libapparmor-dev libargon2-dev libaspell-dev libbrotli-dev libc-client2007e-dev libcurl4-openssl-dev libdb-dev libedit-dev libgomp1 libicu-dev libkrb5-dev libldap-dev liblmdb-dev liblz4-dev libmemcached-dev libonig-dev libpq-dev libqdbm-dev librabbitmq-dev libsodium-dev libsnmp-dev libsqlite3-dev libtidy-dev libtool libwrap0-dev libxml2-dev libxslt1-dev libyaml-dev libzip-dev libzmq3-dev libzstd-dev make php-common snmp shtool systemd tzdata
DEBIAN_FRONTEND=noninteractive apt-get install -y autoconf firebird-dev freetds-dev libacl1-dev libapparmor-dev libargon2-dev libaspell-dev libc-client2007e-dev libcurl4-openssl-dev libdb-dev libedit-dev libgomp1 libicu-dev libkrb5-dev libldap-dev liblmdb-dev liblz4-dev libmemcached-dev libonig-dev libpq-dev libqdbm-dev librabbitmq-dev libsodium-dev libsnmp-dev libsqlite3-dev libtidy-dev libtool libwrap0-dev libxml2-dev libxslt1-dev libyaml-dev libzip-dev libzmq3-dev libzstd-dev make php-common snmp shtool systemd tzdata
purge_packages libfile-fcntllock-perl libalgorithm-merge-perl libalgorithm-diff-xs-perl unattended-upgrades libalgorithm-diff-perl manpages-dev
purge_packages libgd-dev uuid-dev libfreetype-dev libfribidi-dev libharfbuzz-dev libgd3 libavif13 libavif16 libimagequant0 libraqm0 libyuv0 libaom3 libdav1d5 libgav1-0 libabsl20210324 libdav1d7 libgav1-1 librav1e0 libsvtav1enc1d1 libabsl20220623t64 || true
if [ "$VERSION_ID" != '24.04' ]; then
Expand Down

0 comments on commit 810208c

Please sign in to comment.