diff --git a/docker/images/proxysql/rhel-compliant/entrypoint/entrypoint.bash b/docker/images/proxysql/rhel-compliant/entrypoint/entrypoint.bash index c1aa88d262..7f60166079 100755 --- a/docker/images/proxysql/rhel-compliant/entrypoint/entrypoint.bash +++ b/docker/images/proxysql/rhel-compliant/entrypoint/entrypoint.bash @@ -6,7 +6,7 @@ env echo "==> Dirty patching to ensure OS deps are installed" -if [[ -f "/usr/bin/python" ]]; +if [[ -f "/usr/bin/python" ]] || [[ -h "/usr/bin/python" ]]; then echo "==> Installing dependancies for RHEL compliant version 7" yum -y install gnutls-devel libtool || true diff --git a/docker/images/proxysql/rhel-compliant/rhel7/entrypoint/entrypoint.bash b/docker/images/proxysql/rhel-compliant/rhel7/entrypoint/entrypoint.bash index 5255a74502..602892a011 100755 --- a/docker/images/proxysql/rhel-compliant/rhel7/entrypoint/entrypoint.bash +++ b/docker/images/proxysql/rhel-compliant/rhel7/entrypoint/entrypoint.bash @@ -9,7 +9,7 @@ env echo "==> Dirty patching to ensure OS deps are installed" -if [[ -f "/usr/bin/python" ]]; +if [[ -f "/usr/bin/python" ]] || [[ -h "/usr/bin/python" ]]; then echo "==> Installing dependancies for RHEL compliant version 7" yum -y install gnutls-devel libtool || true