File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,16 +26,9 @@ apt-get -yq --no-install-recommends install \
2626 xvfb \
2727 zlib1g-dev
2828
29- # Workaround missing libmpdec-dev on ubuntu 24.04 by building mpdecimal
30- # from source. ppa:ondrej/php (launchpad.net) are unreliable
31- # (https://status.canonical.com) so fetch the tarball directly
32- # from the upstream host.
33- # https://www.bytereef.org/mpdecimal/
34- MPDECIMAL_VERSION=4.0.1
35- curl -fsSL " https://www.bytereef.org/software/mpdecimal/releases/mpdecimal-${MPDECIMAL_VERSION} .tar.gz" \
36- | tar -xz -C /tmp
37- (cd " /tmp/mpdecimal-${MPDECIMAL_VERSION} " \
38- && ./configure --prefix=/usr/local \
39- && make -j" $( nproc) " \
40- && make install)
41- ldconfig
29+ # Workaround missing libmpdec-dev on ubuntu 24.04:
30+ # https://launchpad.net/~ondrej/+archive/ubuntu/php
31+ # https://deb.sury.org/
32+ sudo add-apt-repository ppa:ondrej/php
33+ apt-get update
34+ apt-get -yq --no-install-recommends install libmpdec-dev
You can’t perform that action at this time.
0 commit comments