update: ioncube support for 8.0 and 8.1

This commit is contained in:
Ronnel R. Martinez
2023-05-07 01:28:15 +08:00
committed by GitHub
parent baa65a6e9e
commit 1527c399fd
3 changed files with 4 additions and 4 deletions

View File

@ -691,7 +691,7 @@ RUN if [ ${INSTALL_GRAPHVIZ} = true ]; then \
ARG INSTALL_IONCUBE=false
RUN if [ ${INSTALL_IONCUBE} = true ]; then \
if [ $(php -r "echo PHP_MAJOR_VERSION;") != "8" ]; then \
if [ ${LARADOCK_PHP_VERSION} != "8.2" ]; then \
# Install the php ioncube loader
curl -L -o /tmp/ioncube_loaders_lin_x86-64.tar.gz https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz \
&& tar zxpf /tmp/ioncube_loaders_lin_x86-64.tar.gz -C /tmp \