EL9/aarch64 Docker: can’t install OLS without lsphp74

#1
Hi,

I’ve been running OpenLiteSpeed on CentOS Stream 9 for a while without issues. Since I started rebuilding my Docker images recently, installation no longer progresses. I consistently hit either (a) an unresolved dependency on lsphp74

Environment

  • OS: CentOS Stream 9 (EL9) in Docker
  • Arch: aarch64 (arm64)

What I run


Code:
# Use CentOS Stream 9 as base
FROM quay.io/centos/centos:stream9

# Set environment variables
ENV OLS_VERSION=1.8.3

# Update and install dependencies
RUN dnf -y update && \
    dnf -y install epel-release wget unzip tar && \
    dnf clean all

# Add LiteSpeed repo
RUN wget -O - https://repo.litespeed.sh | bash

# Install OpenLiteSpeed
RUN yum install libatomic libxcrypt-compat procps-ng git -y
RUN yum update -y && dnf install -y openlitespeed || true
RUN yum install php81 php81-php-cli php81-php-gd php81-php-common php81-php-fpm php81-php-mbstring php81-php-mysqlnd php81-php-opcache php81-php-pdo php81-php-sodium php81-php-xml php81-runtime lsphp81 lsphp81-common lsphp81-mysqlnd lsphp81-xml lsphp81-gd lsphp81-mbstring lsphp81-zip lsphp81-bcmath composer -y
RUN wget https://getcomposer.org/installer -O composer-installer.php && /usr/local/lsws/lsphp81/bin/lsphp composer-installer.php --filename=composer --install-dir=/usr/local/bin
 

Attachments

Top