diff --git a/Dockerfile b/Dockerfile index f492774..d4e8751 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ RUN dnf install -y \ https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm \ https://rpms.remirepo.net/enterprise/remi-release-9.rpm && \ dnf update -y && \ - dnf install -y httpd mod_ssl wget procps cronie iproute postgresql-devel && \ + dnf install -y httpd mod_ssl wget procps cronie iproute postgresql-devel microdnf less && \ dnf clean all && \ rm -rf /var/cache/dnf /usr/share/doc /usr/share/man /usr/share/locale/* @@ -24,6 +24,10 @@ RUN openssl req -newkey rsa:2048 -nodes -keyout /etc/pki/tls/private/localhost.k RUN curl -L -o /usr/local/bin/wp https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar && \ chmod +x /usr/local/bin/wp +# Download and install Composer +RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && \ + chmod +x /usr/local/bin/composer + # Copy configs and web files COPY ./configs/default-index.conf /etc/httpd/conf.d/ COPY ./configs/prod-php.ini /etc/php.ini