Skip to content
Snippets Groups Projects
Commit a4bb6b51 authored by Edward Hicks's avatar Edward Hicks :8ball:
Browse files

upgrade php & add webp support

parent 37294a20
No related branches found
No related tags found
No related merge requests found
......@@ -4,15 +4,16 @@ USER root
# Install OS dev packages we need to compile modules against
RUN yum -y group install "Development Tools"
RUN yum -y install lynx cmake cmake3 re2c mariadb mod_fcgid \
libxml2-devel libxslt-devel gd-devel gmp-devel libc-client-devel \
libicu-devel unixODBC-devel aspell-devel postgresql-devel \
libmcrypt-devel libtidy-devel libaio-devel ImageMagick-devel \
ImageMagick-c++-devel libXpm-devel openssl-devel mariadb-devel \
curl-devel freetype-devel libpng-devel sqlite-devel \
GeoIP-devel mhash-devel libdb-devel openldap-devel readline-devel \
libmemcached-devel fastlz-devel libzstd-devel oniguruma-devel \
libyaml-devel glibc-devel ncurses-devel libzip-devel
RUN yum -y install lynx cmake cmake3 re2c mariadb mod_fcgid libxml2-devel
RUN yum -y install libxslt-devel gd-devel gmp-devel libc-client-devel
RUN yum -y install libicu-devel unixODBC-devel aspell-devel postgresql-devel
RUN yum -y install libmcrypt-devel libtidy-devel libaio-devel ImageMagick-devel
RUN yum -y install ImageMagick-c++-devel libXpm-devel openssl-devel
RUN yum -y install mariadb-devel curl-devel freetype-devel libpng-devel
RUN yum -y install sqlite-devel GeoIP-devel mhash-devel libdb-devel
RUN yum -y install openldap-devel readline-devel libmemcached-devel
RUN yum -y install fastlz-devel libzstd-devel oniguruma-devel libyaml-devel
RUN yum -y install glibc-devel ncurses-devel libzip-devel
# External library builds
COPY usr/local/src/ /usr/local/src/
......@@ -47,9 +48,9 @@ RUN tar Jxf php-8.2.*.tar.xz && \
--enable-gd=shared \
--without-gdbm --with-bz2=shared --with-curl=shared,/usr \
--with-freetype --with-gettext=shared --with-gmp=shared --with-iconv \
--with-jpeg --with-kerberos --with-layout=GNU --with-ldap=shared \
--with-jpeg --with-webp --with-layout=GNU --with-ldap=shared \
--with-ldap-sasl --with-mhash=shared,/usr --with-mysqli=shared \
--with-openssl --with-pdo-mysql=shared,/usr \
--with-openssl --with-kerberos --with-pdo-mysql=shared,/usr \
--with-pdo-odbc=shared,unixODBC,/usr --with-pdo-pgsql=shared,/usr \
--with-pdo-sqlite=shared,/usr --with-pear --with-pgsql=shared \
--with-pic --with-pspell=shared --with-readline=shared \
......
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment