update: fix condition
This commit is contained in:
parent
51d719adf1
commit
95c0da664d
|
@ -655,7 +655,14 @@ RUN if [ ${INSTALL_OCI8} = true ]; then \
|
|||
ARG INSTALL_IONCUBE=false
|
||||
|
||||
RUN if [ ${INSTALL_IONCUBE} = true ]; then \
|
||||
if [ ${LARADOCK_PHP_VERSION} < "8.2" ]; then \
|
||||
if [ ${LARADOCK_PHP_VERSION} = "8.1" ] \
|
||||
|| [ ${LARADOCK_PHP_VERSION} = "8.0" ] \
|
||||
|| [ ${LARADOCK_PHP_VERSION} = "7.4" ] \
|
||||
|| [ ${LARADOCK_PHP_VERSION} = "7.3" ] \
|
||||
|| [ ${LARADOCK_PHP_VERSION} = "7.2" ] \
|
||||
|| [ ${LARADOCK_PHP_VERSION} = "7.1" ] \
|
||||
|| [ ${LARADOCK_PHP_VERSION} = "7.0" ] \
|
||||
|| [ ${LARADOCK_PHP_VERSION} = "5.6" ]; 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 \
|
||||
|
|
|
@ -691,7 +691,14 @@ RUN if [ ${INSTALL_GRAPHVIZ} = true ]; then \
|
|||
ARG INSTALL_IONCUBE=false
|
||||
|
||||
RUN if [ ${INSTALL_IONCUBE} = true ]; then \
|
||||
if [ ${LARADOCK_PHP_VERSION} < "8.2" ]; then \
|
||||
if [ ${LARADOCK_PHP_VERSION} = "8.1" ] \
|
||||
|| [ ${LARADOCK_PHP_VERSION} = "8.0" ] \
|
||||
|| [ ${LARADOCK_PHP_VERSION} = "7.4" ] \
|
||||
|| [ ${LARADOCK_PHP_VERSION} = "7.3" ] \
|
||||
|| [ ${LARADOCK_PHP_VERSION} = "7.2" ] \
|
||||
|| [ ${LARADOCK_PHP_VERSION} = "7.1" ] \
|
||||
|| [ ${LARADOCK_PHP_VERSION} = "7.0" ] \
|
||||
|| [ ${LARADOCK_PHP_VERSION} = "5.6" ]; 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 \
|
||||
|
|
Loading…
Reference in New Issue