mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2025-01-12 06:37:55 +03:00
Merge branch 'develop'
This commit is contained in:
commit
d502f531e0
@ -1,5 +1,12 @@
|
||||
## Changelog
|
||||
### 2021
|
||||
* `march`
|
||||
* `apache2`, `nginx`, `php` - fixed php versions, fixed dependency hell. code updated.
|
||||
* `nginx` 1.19.8
|
||||
* `testrail` v7+ migrated to `php 7.4`
|
||||
updated `atlassian` images
|
||||
* `february`
|
||||
* hm.. nothing
|
||||
* `january`
|
||||
* splitted `php` from `websites` images. all versions - `7.2-7.4`.
|
||||
* updated `ioncube loader` for `php7.4`. enabled by degault.
|
||||
|
@ -5,7 +5,7 @@ ARG DEBIAN_FRONTEND=noninteractive
|
||||
##################################################################
|
||||
# ARGuments
|
||||
##################################################################
|
||||
ARG BITBUCKET_VERSION=7.9.1
|
||||
ARG BITBUCKET_VERSION=7.11.1
|
||||
ARG DOWNLOAD_URL=https://product-downloads.atlassian.com/software/stash/downloads/atlassian-bitbucket-${BITBUCKET_VERSION}.tar.gz
|
||||
|
||||
##################################################################
|
||||
|
@ -5,7 +5,7 @@ ARG DEBIAN_FRONTEND=noninteractive
|
||||
##################################################################
|
||||
# ARGuments
|
||||
##################################################################
|
||||
ARG BITBUCKET_VERSION=7.9.1
|
||||
ARG BITBUCKET_VERSION=7.11.1
|
||||
ARG DOWNLOAD_URL=https://product-downloads.atlassian.com/software/stash/downloads/atlassian-bitbucket-${BITBUCKET_VERSION}.tar.gz
|
||||
|
||||
##################################################################
|
||||
|
@ -5,7 +5,7 @@ ARG DEBIAN_FRONTEND=noninteractive
|
||||
##################################################################
|
||||
# ARGuments
|
||||
##################################################################
|
||||
ARG CONFLUENCE_VERSION=7.10.2
|
||||
ARG CONFLUENCE_VERSION=7.11.1
|
||||
ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
||||
|
||||
##################################################################
|
||||
|
@ -5,7 +5,7 @@ ARG DEBIAN_FRONTEND=noninteractive
|
||||
##################################################################
|
||||
# ARGuments
|
||||
##################################################################
|
||||
ARG CONFLUENCE_VERSION=7.10.2
|
||||
ARG CONFLUENCE_VERSION=7.11.1
|
||||
ARG DOWNLOAD_URL=https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz
|
||||
|
||||
##################################################################
|
||||
|
@ -5,7 +5,7 @@ ARG DEBIAN_FRONTEND=noninteractive
|
||||
##################################################################
|
||||
# ARGuments
|
||||
##################################################################
|
||||
ARG FECRU_VERSION=4.8.5
|
||||
ARG FECRU_VERSION=4.8.6
|
||||
ARG DOWNLOAD_URL=https://product-downloads.atlassian.com/software/fisheye/downloads/fisheye-${FECRU_VERSION}.zip
|
||||
|
||||
##################################################################
|
||||
|
@ -11,7 +11,7 @@ ARG SRC_DIR=${BUILDS_DIR}/src
|
||||
ARG EXPORT_DIR=${BUILDS_DIR}/export
|
||||
ARG PRE_DIR=${BUILDS_DIR}/pre
|
||||
ARG NGINX_SRC_DIR=${SRC_DIR}/nginx
|
||||
ARG NGINX_VERSION=1.19.6
|
||||
ARG NGINX_VERSION=1.19.8
|
||||
ARG NGINX_DOWNLOAD_URL=http://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz
|
||||
ARG LUAJIT_INC=/usr/local/include/luajit-2.1
|
||||
ARG LUAJIT_LIB=/usr/local/lib
|
||||
|
@ -20,7 +20,7 @@ ARG P4API_URL=https://www.perforce.com/downloads/perforce/${P4API_VER}/bin.linux
|
||||
ARG P4PHP_VER=r20.1
|
||||
ARG P4PHP_URL=https://www.perforce.com/downloads/perforce/${P4PHP_VER}/bin.tools/p4php-php7.tgz
|
||||
|
||||
ARG P4MODULE_PATH=/usr/lib/php/20190902
|
||||
ARG PHP_MODULE_PATH=/usr/lib/php/20190902
|
||||
|
||||
##################################################################
|
||||
# Files and folders
|
||||
@ -31,13 +31,12 @@ RUN mkdir -p ${BUILDS_DIR} ${SRC_DIR} ${EXPORT_DIR} ${MAKE_DIR} ${P4API_DIR} ${P
|
||||
# Installing PHP7
|
||||
##################################################################
|
||||
#installing php repo
|
||||
RUN wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
|
||||
RUN sh -c 'echo "deb https://packages.sury.org/php/ buster main" > /etc/apt/sources.list.d/php.list'
|
||||
|
||||
#Install base packages
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --allow-unauthenticated \
|
||||
libmemcached-dev \
|
||||
smbclient libsmbclient libsmbclient-dev \
|
||||
php7.4 \
|
||||
php7.4-dev \
|
||||
php7.4-fpm \
|
||||
@ -70,7 +69,14 @@ RUN cd ${MAKE_DIR} && \
|
||||
make && \
|
||||
make test && \
|
||||
make install && \
|
||||
cp ${P4MODULE_PATH}/perforce.so ${EXPORT_DIR}
|
||||
cp ${PHP_MODULE_PATH}/perforce.so ${EXPORT_DIR}
|
||||
|
||||
|
||||
##################################################################
|
||||
# compilling smbclient
|
||||
##################################################################
|
||||
RUN pecl install smbclient && \
|
||||
cp ${PHP_MODULE_PATH}/smbclient.so ${EXPORT_DIR}
|
||||
|
||||
##################################################################
|
||||
##################################################################
|
||||
@ -88,59 +94,58 @@ ARG PHP_MODULE_PATH=/usr/lib/php/20190902
|
||||
ARG PHP_VER=7.4
|
||||
ARG PHP_DIR=/etc/php/${PHP_VER}
|
||||
ARG P4_PHP_INI=${PHP_DIR}/mods-available/perfroce.ini
|
||||
ARG SMB_PHP_INI=${PHP_DIR}/mods-available/smbclient.ini
|
||||
|
||||
##################################################################
|
||||
# Installing PHP7
|
||||
##################################################################
|
||||
#installing php repo
|
||||
RUN wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
|
||||
RUN sh -c 'echo "deb https://packages.sury.org/php/ buster main" > /etc/apt/sources.list.d/php.list'
|
||||
|
||||
#Install base packages
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --allow-unauthenticated \
|
||||
libmemcached-dev \
|
||||
php7.4 \
|
||||
php7.4-dev \
|
||||
php7.4-fpm \
|
||||
php7.4-cli \
|
||||
php7.4-cgi \
|
||||
php-pear \
|
||||
php-gmp \
|
||||
php-snmp \
|
||||
php-ldap \
|
||||
php-mail \
|
||||
php-soap \
|
||||
php-mysql \
|
||||
php-memcached \
|
||||
php-memcache \
|
||||
php-igbinary \
|
||||
php-curl \
|
||||
php-gd \
|
||||
php-intl \
|
||||
php-zip \
|
||||
php-bcmath \
|
||||
php-imap \
|
||||
php-pspell \
|
||||
php-sqlite3 \
|
||||
php-tidy \
|
||||
php-xmlrpc \
|
||||
php-xml \
|
||||
php-mbstring \
|
||||
php-apcu \
|
||||
php-common \
|
||||
php-json \
|
||||
php-readline \
|
||||
php-enchant \
|
||||
php-ssh2 \
|
||||
php-oauth \
|
||||
php-gmagick \
|
||||
php-gnupg \
|
||||
php-redis \
|
||||
php-smbclient \
|
||||
php-yaml \
|
||||
php-geoip \
|
||||
php7.4-gmp \
|
||||
php7.4-snmp \
|
||||
php7.4-ldap \
|
||||
php7.4-mail \
|
||||
php7.4-soap \
|
||||
php7.4-mysql \
|
||||
php7.4-memcached \
|
||||
php7.4-memcache \
|
||||
php7.4-igbinary \
|
||||
php7.4-interbase \
|
||||
php7.4-curl \
|
||||
php7.4-gd \
|
||||
php7.4-intl \
|
||||
php7.4-zip \
|
||||
php7.4-bcmath \
|
||||
php7.4-imap \
|
||||
php7.4-pspell \
|
||||
php7.4-sqlite3 \
|
||||
php7.4-tidy \
|
||||
php7.4-xmlrpc \
|
||||
php7.4-xml \
|
||||
php7.4-mbstring \
|
||||
php7.4-apcu \
|
||||
php7.4-common \
|
||||
php7.4-json \
|
||||
php7.4-readline \
|
||||
php7.4-enchant \
|
||||
php7.4-ssh2 \
|
||||
php7.4-oauth \
|
||||
php7.4-gmagick \
|
||||
php7.4-gnupg \
|
||||
php7.4-redis \
|
||||
smbclient libsmbclient \
|
||||
# php-smbclient \
|
||||
php7.4-yaml \
|
||||
php7.4-geoip \
|
||||
sendmail && \
|
||||
update-alternatives --set php /usr/bin/php7.4 && \
|
||||
phpenmod \
|
||||
snmp \
|
||||
gmp \
|
||||
@ -205,6 +210,19 @@ RUN echo "extension=perforce.so" > ${P4_PHP_INI} && \
|
||||
php -m && \
|
||||
php -v
|
||||
|
||||
##################################################################
|
||||
# Installing smbclient addon
|
||||
##################################################################
|
||||
COPY --from=builder /builds/export/smbclient.so ${PHP_MODULE_PATH}
|
||||
RUN echo "extension=smbclient.so" > ${SMB_PHP_INI} && \
|
||||
ln -sf ${SMB_PHP_INI} ${PHP_DIR}/cgi/conf.d/smbclient.ini && \
|
||||
ln -sf ${SMB_PHP_INI} ${PHP_DIR}/cli/conf.d/smbclient.ini && \
|
||||
ln -sf ${SMB_PHP_INI} ${PHP_DIR}/fpm/conf.d/smbclient.ini && \
|
||||
php -m && \
|
||||
php -v
|
||||
|
||||
|
||||
|
||||
##################################################################
|
||||
# Installing Composer addon
|
||||
##################################################################
|
||||
|
@ -26,6 +26,7 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
|
||||
apt-get install -y --allow-unauthenticated \
|
||||
apt-transport-https \
|
||||
apt-utils \
|
||||
aptitude \
|
||||
bash \
|
||||
binutils \
|
||||
ca-certificates \
|
||||
|
@ -20,7 +20,7 @@ ARG P4API_URL=https://www.perforce.com/downloads/perforce/${P4API_VER}/bin.linux
|
||||
ARG P4PHP_VER=r20.1
|
||||
ARG P4PHP_URL=https://www.perforce.com/downloads/perforce/${P4PHP_VER}/bin.tools/p4php-php7.tgz
|
||||
|
||||
ARG P4MODULE_PATH=/usr/lib/php/20190902
|
||||
ARG PHP_MODULE_PATH=/usr/lib/php/20190902
|
||||
|
||||
##################################################################
|
||||
# Files and folders
|
||||
@ -30,14 +30,11 @@ RUN mkdir -p ${BUILDS_DIR} ${SRC_DIR} ${EXPORT_DIR} ${MAKE_DIR} ${P4API_DIR} ${P
|
||||
##################################################################
|
||||
# Installing PHP7
|
||||
##################################################################
|
||||
#installing php repo
|
||||
RUN wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
|
||||
RUN sh -c 'echo "deb https://packages.sury.org/php/ buster main" > /etc/apt/sources.list.d/php.list'
|
||||
|
||||
#Install base packages
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --allow-unauthenticated \
|
||||
libmemcached-dev \
|
||||
smbclient libsmbclient libsmbclient-dev \
|
||||
php7.4 \
|
||||
php7.4-dev \
|
||||
php7.4-fpm \
|
||||
@ -70,7 +67,14 @@ RUN cd ${MAKE_DIR} && \
|
||||
make && \
|
||||
make test && \
|
||||
make install && \
|
||||
cp ${P4MODULE_PATH}/perforce.so ${EXPORT_DIR}
|
||||
cp ${PHP_MODULE_PATH}/perforce.so ${EXPORT_DIR}
|
||||
|
||||
|
||||
##################################################################
|
||||
# compilling smbclient
|
||||
##################################################################
|
||||
RUN pecl install smbclient && \
|
||||
cp ${PHP_MODULE_PATH}/smbclient.so ${EXPORT_DIR}
|
||||
|
||||
##################################################################
|
||||
##################################################################
|
||||
@ -84,14 +88,11 @@ ARG PHP_MODULE_PATH=/usr/lib/php/20190902
|
||||
ARG PHP_VER=7.4
|
||||
ARG PHP_DIR=/etc/php/${PHP_VER}
|
||||
ARG P4_PHP_INI=${PHP_DIR}/mods-available/perfroce.ini
|
||||
ARG SMB_PHP_INI=${PHP_DIR}/mods-available/smbclient.ini
|
||||
|
||||
##################################################################
|
||||
# Installing PHP7
|
||||
##################################################################
|
||||
#installing php repo
|
||||
RUN wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
|
||||
RUN sh -c 'echo "deb https://packages.sury.org/php/ buster main" > /etc/apt/sources.list.d/php.list'
|
||||
|
||||
#Install base packages
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --allow-unauthenticated \
|
||||
@ -102,42 +103,44 @@ RUN apt-get update && \
|
||||
php7.4-cli \
|
||||
php7.4-cgi \
|
||||
php-pear \
|
||||
php-gmp \
|
||||
php-snmp \
|
||||
php-ldap \
|
||||
php-mail \
|
||||
php-soap \
|
||||
php-mysql \
|
||||
php-memcached \
|
||||
php-memcache \
|
||||
php-igbinary \
|
||||
php-interbase \
|
||||
php-curl \
|
||||
php-gd \
|
||||
php-intl \
|
||||
php-zip \
|
||||
php-bcmath \
|
||||
php-imap \
|
||||
php-pspell \
|
||||
php-sqlite3 \
|
||||
php-tidy \
|
||||
php-xmlrpc \
|
||||
php-xml \
|
||||
php-mbstring \
|
||||
php-apcu \
|
||||
php-common \
|
||||
php-json \
|
||||
php-readline \
|
||||
php-enchant \
|
||||
php-ssh2 \
|
||||
php-oauth \
|
||||
php-gmagick \
|
||||
php-gnupg \
|
||||
php-redis \
|
||||
php-smbclient \
|
||||
php-yaml \
|
||||
php-geoip \
|
||||
php7.4-gmp \
|
||||
php7.4-snmp \
|
||||
php7.4-ldap \
|
||||
php7.4-mail \
|
||||
php7.4-soap \
|
||||
php7.4-mysql \
|
||||
php7.4-memcached \
|
||||
php7.4-memcache \
|
||||
php7.4-igbinary \
|
||||
php7.4-interbase \
|
||||
php7.4-curl \
|
||||
php7.4-gd \
|
||||
php7.4-intl \
|
||||
php7.4-zip \
|
||||
php7.4-bcmath \
|
||||
php7.4-imap \
|
||||
php7.4-pspell \
|
||||
php7.4-sqlite3 \
|
||||
php7.4-tidy \
|
||||
php7.4-xmlrpc \
|
||||
php7.4-xml \
|
||||
php7.4-mbstring \
|
||||
php7.4-apcu \
|
||||
php7.4-common \
|
||||
php7.4-json \
|
||||
php7.4-readline \
|
||||
php7.4-enchant \
|
||||
php7.4-ssh2 \
|
||||
php7.4-oauth \
|
||||
php7.4-gmagick \
|
||||
php7.4-gnupg \
|
||||
php7.4-redis \
|
||||
smbclient libsmbclient \
|
||||
# php-smbclient \
|
||||
php7.4-yaml \
|
||||
php7.4-geoip \
|
||||
sendmail && \
|
||||
update-alternatives --set php /usr/bin/php7.4 && \
|
||||
phpenmod \
|
||||
snmp \
|
||||
gmp \
|
||||
@ -203,6 +206,17 @@ RUN echo "extension=perforce.so" > ${P4_PHP_INI} && \
|
||||
php -m && \
|
||||
php -v
|
||||
|
||||
##################################################################
|
||||
# Installing smbclient addon
|
||||
##################################################################
|
||||
COPY --from=builder /builds/export/smbclient.so ${PHP_MODULE_PATH}
|
||||
RUN echo "extension=smbclient.so" > ${SMB_PHP_INI} && \
|
||||
ln -sf ${SMB_PHP_INI} ${PHP_DIR}/cgi/conf.d/smbclient.ini && \
|
||||
ln -sf ${SMB_PHP_INI} ${PHP_DIR}/cli/conf.d/smbclient.ini && \
|
||||
ln -sf ${SMB_PHP_INI} ${PHP_DIR}/fpm/conf.d/smbclient.ini && \
|
||||
php -m && \
|
||||
php -v
|
||||
|
||||
##################################################################
|
||||
# Installing Composer addon
|
||||
##################################################################
|
||||
|
@ -76,7 +76,7 @@ RUN cd ${MAKE_DIR} && \
|
||||
##################################################################
|
||||
##################################################################
|
||||
|
||||
FROM epicmorg/edge
|
||||
FROM epicmorg/prod
|
||||
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
|
@ -20,7 +20,7 @@ ARG P4API_URL=https://www.perforce.com/downloads/perforce/${P4API_VER}/bin.linux
|
||||
ARG P4PHP_VER=r20.1
|
||||
ARG P4PHP_URL=https://www.perforce.com/downloads/perforce/${P4PHP_VER}/bin.tools/p4php-php7.tgz
|
||||
|
||||
ARG P4MODULE_PATH=/usr/lib/php/20190902
|
||||
ARG PHP_MODULE_PATH=/usr/lib/php/20190902
|
||||
|
||||
##################################################################
|
||||
# Files and folders
|
||||
@ -30,14 +30,11 @@ RUN mkdir -p ${BUILDS_DIR} ${SRC_DIR} ${EXPORT_DIR} ${MAKE_DIR} ${P4API_DIR} ${P
|
||||
##################################################################
|
||||
# Installing PHP7
|
||||
##################################################################
|
||||
#installing php repo
|
||||
RUN wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
|
||||
RUN sh -c 'echo "deb https://packages.sury.org/php/ buster main" > /etc/apt/sources.list.d/php.list'
|
||||
|
||||
#Install base packages
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --allow-unauthenticated \
|
||||
libmemcached-dev \
|
||||
smbclient libsmbclient libsmbclient-dev \
|
||||
php7.4 \
|
||||
php7.4-dev \
|
||||
php7.4-fpm \
|
||||
@ -70,7 +67,14 @@ RUN cd ${MAKE_DIR} && \
|
||||
make && \
|
||||
make test && \
|
||||
make install && \
|
||||
cp ${P4MODULE_PATH}/perforce.so ${EXPORT_DIR}
|
||||
cp ${PHP_MODULE_PATH}/perforce.so ${EXPORT_DIR}
|
||||
|
||||
|
||||
##################################################################
|
||||
# compilling smbclient
|
||||
##################################################################
|
||||
RUN pecl install smbclient && \
|
||||
cp ${PHP_MODULE_PATH}/smbclient.so ${EXPORT_DIR}
|
||||
|
||||
##################################################################
|
||||
##################################################################
|
||||
@ -84,14 +88,11 @@ ARG PHP_MODULE_PATH=/usr/lib/php/20190902
|
||||
ARG PHP_VER=7.4
|
||||
ARG PHP_DIR=/etc/php/${PHP_VER}
|
||||
ARG P4_PHP_INI=${PHP_DIR}/mods-available/perfroce.ini
|
||||
ARG SMB_PHP_INI=${PHP_DIR}/mods-available/smbclient.ini
|
||||
|
||||
##################################################################
|
||||
# Installing PHP7
|
||||
##################################################################
|
||||
#installing php repo
|
||||
RUN wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
|
||||
RUN sh -c 'echo "deb https://packages.sury.org/php/ buster main" > /etc/apt/sources.list.d/php.list'
|
||||
|
||||
#Install base packages
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --allow-unauthenticated \
|
||||
@ -102,42 +103,44 @@ RUN apt-get update && \
|
||||
php7.4-cli \
|
||||
php7.4-cgi \
|
||||
php-pear \
|
||||
php-gmp \
|
||||
php-snmp \
|
||||
php-ldap \
|
||||
php-mail \
|
||||
php-soap \
|
||||
php-mysql \
|
||||
php-memcached \
|
||||
php-memcache \
|
||||
php-igbinary \
|
||||
php-interbase \
|
||||
php-curl \
|
||||
php-gd \
|
||||
php-intl \
|
||||
php-zip \
|
||||
php-bcmath \
|
||||
php-imap \
|
||||
php-pspell \
|
||||
php-sqlite3 \
|
||||
php-tidy \
|
||||
php-xmlrpc \
|
||||
php-xml \
|
||||
php-mbstring \
|
||||
php-apcu \
|
||||
php-common \
|
||||
php-json \
|
||||
php-readline \
|
||||
php-enchant \
|
||||
php-ssh2 \
|
||||
php-oauth \
|
||||
php-gmagick \
|
||||
php-gnupg \
|
||||
php-redis \
|
||||
php-smbclient \
|
||||
php-yaml \
|
||||
php-geoip \
|
||||
php7.4-gmp \
|
||||
php7.4-snmp \
|
||||
php7.4-ldap \
|
||||
php7.4-mail \
|
||||
php7.4-soap \
|
||||
php7.4-mysql \
|
||||
php7.4-memcached \
|
||||
php7.4-memcache \
|
||||
php7.4-igbinary \
|
||||
php7.4-interbase \
|
||||
php7.4-curl \
|
||||
php7.4-gd \
|
||||
php7.4-intl \
|
||||
php7.4-zip \
|
||||
php7.4-bcmath \
|
||||
php7.4-imap \
|
||||
php7.4-pspell \
|
||||
php7.4-sqlite3 \
|
||||
php7.4-tidy \
|
||||
php7.4-xmlrpc \
|
||||
php7.4-xml \
|
||||
php7.4-mbstring \
|
||||
php7.4-apcu \
|
||||
php7.4-common \
|
||||
php7.4-json \
|
||||
php7.4-readline \
|
||||
php7.4-enchant \
|
||||
php7.4-ssh2 \
|
||||
php7.4-oauth \
|
||||
php7.4-gmagick \
|
||||
php7.4-gnupg \
|
||||
php7.4-redis \
|
||||
smbclient libsmbclient \
|
||||
# php-smbclient \
|
||||
php7.4-yaml \
|
||||
php7.4-geoip \
|
||||
sendmail && \
|
||||
update-alternatives --set php /usr/bin/php7.4 && \
|
||||
phpenmod \
|
||||
snmp \
|
||||
gmp \
|
||||
@ -203,6 +206,17 @@ RUN echo "extension=perforce.so" > ${P4_PHP_INI} && \
|
||||
php -m && \
|
||||
php -v
|
||||
|
||||
##################################################################
|
||||
# Installing smbclient addon
|
||||
##################################################################
|
||||
COPY --from=builder /builds/export/smbclient.so ${PHP_MODULE_PATH}
|
||||
RUN echo "extension=smbclient.so" > ${SMB_PHP_INI} && \
|
||||
ln -sf ${SMB_PHP_INI} ${PHP_DIR}/cgi/conf.d/smbclient.ini && \
|
||||
ln -sf ${SMB_PHP_INI} ${PHP_DIR}/cli/conf.d/smbclient.ini && \
|
||||
ln -sf ${SMB_PHP_INI} ${PHP_DIR}/fpm/conf.d/smbclient.ini && \
|
||||
php -m && \
|
||||
php -v
|
||||
|
||||
##################################################################
|
||||
# Installing Composer addon
|
||||
##################################################################
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM epicmorg/websites:php7.2
|
||||
FROM epicmorg/websites:php7.4
|
||||
|
||||
ARG TESTRAIL_VERSION=latest
|
||||
ARG DOWNLOAD_URL=https://secure.gurock.com/downloads/testrail/testrail-${TESTRAIL_VERSION}-ion71.zip
|
||||
|
@ -6,6 +6,7 @@ ARG PHP_MODULE_PATH=/usr/lib/php/20190902
|
||||
ARG PHP_VER=7.4
|
||||
ARG PHP_DIR=/etc/php/${PHP_VER}
|
||||
ARG P4_PHP_INI=${PHP_DIR}/mods-available/perfroce.ini
|
||||
ARG SMB_PHP_INI=${PHP_DIR}/mods-available/smbclient.ini
|
||||
|
||||
##################################################################
|
||||
# Installing Apache2
|
||||
@ -22,8 +23,7 @@ RUN apt-get update && \
|
||||
libapache2-mod-php7.4 \
|
||||
libapache2-mod-webauth \
|
||||
libapache2-mod-xforward \
|
||||
libapache2-mod-security2 \
|
||||
libmemcached-dev && \
|
||||
libapache2-mod-security2 && \
|
||||
a2enmod \
|
||||
php7.4 \
|
||||
rewrite \
|
||||
@ -66,6 +66,13 @@ RUN ln -sf ${P4_PHP_INI} ${PHP_DIR}/apache2/conf.d/perforce.ini && \
|
||||
php -m && \
|
||||
php -v
|
||||
|
||||
##################################################################
|
||||
# Installing smbclient addon
|
||||
##################################################################
|
||||
RUN ln -sf ${SMB_PHP_INI} ${PHP_DIR}/apache2/conf.d/smbclient.ini && \
|
||||
php -m && \
|
||||
php -v
|
||||
|
||||
##################################################################
|
||||
# cleaninig up
|
||||
##################################################################
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM epicmorg/php:php7.4
|
||||
FROM epicmorg/php:latest
|
||||
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
@ -6,6 +6,7 @@ ARG PHP_MODULE_PATH=/usr/lib/php/20190902
|
||||
ARG PHP_VER=7.4
|
||||
ARG PHP_DIR=/etc/php/${PHP_VER}
|
||||
ARG P4_PHP_INI=${PHP_DIR}/mods-available/perfroce.ini
|
||||
ARG SMB_PHP_INI=${PHP_DIR}/mods-available/smbclient.ini
|
||||
|
||||
##################################################################
|
||||
# Installing Apache2
|
||||
@ -22,8 +23,7 @@ RUN apt-get update && \
|
||||
libapache2-mod-php7.4 \
|
||||
libapache2-mod-webauth \
|
||||
libapache2-mod-xforward \
|
||||
libapache2-mod-security2 \
|
||||
libmemcached-dev && \
|
||||
libapache2-mod-security2 && \
|
||||
a2enmod \
|
||||
php7.4 \
|
||||
rewrite \
|
||||
@ -66,6 +66,13 @@ RUN ln -sf ${P4_PHP_INI} ${PHP_DIR}/apache2/conf.d/perforce.ini && \
|
||||
php -m && \
|
||||
php -v
|
||||
|
||||
##################################################################
|
||||
# Installing smbclient addon
|
||||
##################################################################
|
||||
RUN ln -sf ${SMB_PHP_INI} ${PHP_DIR}/apache2/conf.d/smbclient.ini && \
|
||||
php -m && \
|
||||
php -v
|
||||
|
||||
##################################################################
|
||||
# cleaninig up
|
||||
##################################################################
|
||||
|
Loading…
x
Reference in New Issue
Block a user