ninedocker/misc/images/nineapache74/containers/nineapache/Dockerfile
2024-10-22 18:46:55 +00:00

69 lines
1.4 KiB
Docker
Executable File

FROM alpine:3.15
RUN apk add --no-cache \
bash \
sed \
vim \
ca-certificates \
openldap-clients \
wget \
npm \
git \
curl \
unzip \
zip \
openssl \
mariadb-client
RUN apk add --no-cache \
apache2 \
apache2-proxy \
apache2-ssl
RUN apk add --no-cache \
php7 \
php7-apache2 \
php7-gd \
php7-zip \
php7-xml \
php7-ctype \
php7-simplexml \
php7-tokenizer \
php7-sodium \
php7-dom \
php7-pdo \
php7-pdo_pgsql \
php7-pdo_mysql \
php7-curl \
php7-ldap \
php7-pecl-igbinary \
php7-session \
php7-pecl-redis \
php7-fileinfo \
php7-xmlwriter \
php7-openssl \
php7-phar \
php7-iconv \
php7-mbstring \
php7-fpm \
php7-sockets \
php7-opcache \
php7-intl \
php7-bcmath \
php7-pecl-ssh2
RUN curl -k https://forge.cadoles.com/Cadoles/Jenkins/raw/branch/master/resources/com/cadoles/common/add-letsencrypt-ca.sh | bash
RUN curl -sS https://getcomposer.org/installer | php -- --1 --install-dir=/usr/local/bin --filename=composer
RUN npm install -g n
RUN npm install -g yarn
COPY apache2.sh /etc/apache2/apache2.sh
RUN chmod +x /etc/apache2/apache2.sh
COPY php.local.ini /etc/php7/conf.d/
COPY httpd.conf /etc/apache2/httpd.conf
COPY site.conf /etc/apache2/conf.d/nine/site.conf
COPY ssl.conf /etc/apache2/conf.d/ssl.conf
COPY index.php /app/public/index.php
CMD /etc/apache2/apache2.sh