mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2024-12-25 06:05:37 +03:00
testrail new baseline
This commit is contained in:
parent
a7f83b51f8
commit
58e38450a8
@ -1,6 +1,4 @@
|
||||
8.0.0.1089
|
||||
8.0.1.1029
|
||||
8.0.1.1030
|
||||
8.0.1.1033
|
||||
8.0.4.7036
|
||||
8.0.6.1019
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -29,13 +29,7 @@ ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
|
@ -1,13 +0,0 @@
|
||||
FROM epicmorg/testrail:8.0.1.1030
|
||||
|
||||
ENV TESTRAIL_PLUGIN_VERSION=1.4
|
||||
ENV TESTRAIL_PLUGIN_NAME=ad
|
||||
ENV TESTRAIL_PLUGIN_FULLNAME=testrail-auth-${TESTRAIL_PLUGIN_NAME}-${TESTRAIL_PLUGIN_VERSION}
|
||||
ENV TESTRAIL_PLUGIN_FILE=${TESTRAIL_PLUGIN_FULLNAME}.zip
|
||||
ENV TESTRAIL_PLUGIN_DONWLOAD_URL=https://media.gurock.com/gk-media/downloads/${TESTRAIL_PLUGIN_FILE}
|
||||
ENV TESTRAIL_PLUGIN_TEMP=${TESTRAIL_RELEASE_DIR}/${TESTRAIL_PLUGIN_FILE}
|
||||
|
||||
RUN rm -rfv /usr/bin/docker-entrypoint.sh
|
||||
COPY docker-entrypoint.sh /usr/bin/docker-entrypoint.sh
|
||||
|
||||
RUN wget --no-check-certificate -O ${TESTRAIL_PLUGIN_TEMP} ${TESTRAIL_PLUGIN_DONWLOAD_URL}
|
@ -1,36 +0,0 @@
|
||||
PIP_BREAK_SYSTEM_PACKAGES=1
|
||||
|
||||
all: app
|
||||
|
||||
app:
|
||||
make build
|
||||
make deploy
|
||||
make clean
|
||||
|
||||
build:
|
||||
kaniko-wrapper --version
|
||||
|
||||
dry:
|
||||
make dry-run
|
||||
|
||||
test:
|
||||
make dry-run
|
||||
|
||||
dry-run:
|
||||
kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run
|
||||
|
||||
build-compose:
|
||||
docker-compose build --compress --parallel --progress plain
|
||||
|
||||
deploy:
|
||||
kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug
|
||||
|
||||
deploy-compose:
|
||||
docker-compose push
|
||||
|
||||
clean:
|
||||
docker container prune -f
|
||||
docker image prune -f
|
||||
docker network prune -f
|
||||
docker volume prune -f
|
||||
docker system prune -af
|
@ -1,36 +0,0 @@
|
||||
## Testrail
|
||||
|
||||
* Based on `websites:php8.1` of our ecosystem.
|
||||
|
||||
# Compose example
|
||||
|
||||
```yml
|
||||
version: '3.7'
|
||||
services:
|
||||
testrail:
|
||||
image: epicmorg/testrail-ad-:8.0.1.1030
|
||||
# depends_on:
|
||||
# - mysql
|
||||
# - memcached
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime
|
||||
- /etc/timezone:/etc/timezone
|
||||
# - /etc/letsencrypt:/etc/letsencrypt
|
||||
- www:/var/www
|
||||
- apache2:/etc/apache2
|
||||
- php:/etc/php
|
||||
restart: unless-stopped
|
||||
# extra_hosts:
|
||||
# - "example.com:192.168.0.11"
|
||||
tmpfs:
|
||||
- /tmp
|
||||
- /var/lib/php/sessions
|
||||
volumes:
|
||||
www:
|
||||
external: true
|
||||
apache2:
|
||||
external: true
|
||||
php:
|
||||
external: true
|
||||
```
|
@ -1,6 +0,0 @@
|
||||
#version: '3.9'
|
||||
services:
|
||||
app:
|
||||
image: "epicmorg/testrail:auth-ad-8.0.1.1030"
|
||||
build:
|
||||
context: .
|
@ -1,68 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "[testrail] Welcome to Testrail 8.0.1.1030 with Active Directory plugin"
|
||||
|
||||
echo "[testrail] Starting Testrail service"
|
||||
|
||||
##################################################################################
|
||||
|
||||
function createOptDirectory {
|
||||
if [ ! -d $1 ]
|
||||
then
|
||||
echo "[testrail] Creating " $1
|
||||
mkdir -p $1
|
||||
fi
|
||||
|
||||
chown -R www-data:www-data $1
|
||||
}
|
||||
|
||||
/bin/cp -rf ${TESTRAIL_RELEASE_DIR}/apache-conf/000-default.conf /etc/apache2/sites-enabled/000-default.conf
|
||||
|
||||
echo "[testrail] Unzipping testrail service"
|
||||
unzip -q -o ${TESTRAIL_RELEASE_DIR}/testrail.zip -d /var/www/
|
||||
|
||||
echo "[testrail] Unzipping testrail Active Directory auth plugin"
|
||||
unzip -q -o -j ${TESTRAIL_RELEASE_DIR}/${TESTRAIL_PLUGIN_FILE} ${TESTRAIL_PLUGIN_FULLNAME}/auth.php -d ${TR_CUSTOM_AUTH_DIR}
|
||||
|
||||
createOptDirectory ${TR_DEFAULT_LOG_DIR}
|
||||
createOptDirectory ${TR_DEFAULT_AUDIT_DIR}
|
||||
createOptDirectory ${TR_DEFAULT_REPORT_DIR}
|
||||
createOptDirectory ${TR_DEFAULT_ATTACHMENT_DIR}
|
||||
|
||||
chown -R www-data:www-data ${TR_CONFIG_DIR}
|
||||
|
||||
#################################################################################
|
||||
|
||||
echo "[testrail] Waiting for background task file"
|
||||
while [ ! -f /var/www/testrail/task.php ]
|
||||
do
|
||||
sleep 2
|
||||
done
|
||||
|
||||
echo "[testrail] Starting background task"
|
||||
while /bin/true; do
|
||||
php /var/www/testrail/task.php || true
|
||||
sleep ${TR_DEFAULT_TASK_EXECUTION}
|
||||
done &
|
||||
echo "[testrail] Background task stoped"
|
||||
|
||||
#################################################################################
|
||||
|
||||
if [[ -z "${FIX_WWW_DATA}" ]]; then
|
||||
echo "[apache2] env FIX_WWW_DATA is not set. Fixing permissions anyway"
|
||||
chown www-data:www-data /var/www -R
|
||||
elif [ "${FIX_WWW_DATA}" == "false" ]; then
|
||||
echo "[apache2] env FIX_WWW_DATA is set to false. Skipping..."
|
||||
elif [ "${FIX_WWW_DATA}" == "true" ]; then
|
||||
echo "[apache2] Changing permissions for /var/www path. Dont worry, please wait."
|
||||
chown www-data:www-data /var/www -R
|
||||
echo "[apache2] Done"
|
||||
else
|
||||
echo "[apache2] env FIX_WWW_DATA is set to strange value. Skipping..."
|
||||
fi
|
||||
|
||||
echo "[apache2] Starting up"
|
||||
|
||||
source /etc/apache2/envvars
|
||||
tail -F /var/log/apache2/* &
|
||||
exec apache2 -D FOREGROUND
|
@ -1,13 +0,0 @@
|
||||
FROM epicmorg/testrail:8.0.1.1030
|
||||
|
||||
ENV TESTRAIL_PLUGIN_VERSION=1.4
|
||||
ENV TESTRAIL_PLUGIN_NAME=ldap
|
||||
ENV TESTRAIL_PLUGIN_FULLNAME=testrail-auth-${TESTRAIL_PLUGIN_NAME}-${TESTRAIL_PLUGIN_VERSION}
|
||||
ENV TESTRAIL_PLUGIN_FILE=${TESTRAIL_PLUGIN_FULLNAME}.zip
|
||||
ENV TESTRAIL_PLUGIN_DONWLOAD_URL=https://media.gurock.com/gk-media/downloads/${TESTRAIL_PLUGIN_FILE}
|
||||
ENV TESTRAIL_PLUGIN_TEMP=${TESTRAIL_RELEASE_DIR}/${TESTRAIL_PLUGIN_FILE}
|
||||
|
||||
RUN rm -rfv /usr/bin/docker-entrypoint.sh
|
||||
COPY docker-entrypoint.sh /usr/bin/docker-entrypoint.sh
|
||||
|
||||
RUN wget --no-check-certificate -O ${TESTRAIL_PLUGIN_TEMP} ${TESTRAIL_PLUGIN_DONWLOAD_URL}
|
@ -1,36 +0,0 @@
|
||||
PIP_BREAK_SYSTEM_PACKAGES=1
|
||||
|
||||
all: app
|
||||
|
||||
app:
|
||||
make build
|
||||
make deploy
|
||||
make clean
|
||||
|
||||
build:
|
||||
kaniko-wrapper --version
|
||||
|
||||
dry:
|
||||
make dry-run
|
||||
|
||||
test:
|
||||
make dry-run
|
||||
|
||||
dry-run:
|
||||
kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run
|
||||
|
||||
build-compose:
|
||||
docker-compose build --compress --parallel --progress plain
|
||||
|
||||
deploy:
|
||||
kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug
|
||||
|
||||
deploy-compose:
|
||||
docker-compose push
|
||||
|
||||
clean:
|
||||
docker container prune -f
|
||||
docker image prune -f
|
||||
docker network prune -f
|
||||
docker volume prune -f
|
||||
docker system prune -af
|
@ -1,36 +0,0 @@
|
||||
## Testrail
|
||||
|
||||
* Based on `websites:php8.1` of our ecosystem.
|
||||
|
||||
# Compose example
|
||||
|
||||
```yml
|
||||
version: '3.7'
|
||||
services:
|
||||
testrail:
|
||||
image: epicmorg/testrail:auth-ldap-8.0.1.1030
|
||||
# depends_on:
|
||||
# - mysql
|
||||
# - memcached
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime
|
||||
- /etc/timezone:/etc/timezone
|
||||
# - /etc/letsencrypt:/etc/letsencrypt
|
||||
- www:/var/www
|
||||
- apache2:/etc/apache2
|
||||
- php:/etc/php
|
||||
restart: unless-stopped
|
||||
# extra_hosts:
|
||||
# - "example.com:192.168.0.11"
|
||||
tmpfs:
|
||||
- /tmp
|
||||
- /var/lib/php/sessions
|
||||
volumes:
|
||||
www:
|
||||
external: true
|
||||
apache2:
|
||||
external: true
|
||||
php:
|
||||
external: true
|
||||
```
|
@ -1,6 +0,0 @@
|
||||
#version: '3.9'
|
||||
services:
|
||||
app:
|
||||
image: "epicmorg/testrail:auth-ldap-8.0.1.1030"
|
||||
build:
|
||||
context: .
|
@ -1,68 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "[testrail] Welcome to Testrail 8.0.1.1030 with LDAP plugin"
|
||||
|
||||
echo "[testrail] Starting testrail service"
|
||||
|
||||
#################################################################################
|
||||
|
||||
function createOptDirectory {
|
||||
if [ ! -d $1 ]
|
||||
then
|
||||
echo "[testrail] Creating " $1
|
||||
mkdir -p $1
|
||||
fi
|
||||
|
||||
chown -R www-data:www-data $1
|
||||
}
|
||||
|
||||
/bin/cp -rf ${TESTRAIL_RELEASE_DIR}/apache-conf/000-default.conf /etc/apache2/sites-enabled/000-default.conf
|
||||
|
||||
echo "[testrail] Unzipping testrail service"
|
||||
unzip -q -o ${TESTRAIL_RELEASE_DIR}/testrail.zip -d /var/www/
|
||||
|
||||
echo "[testrail] Unzipping testrail LDAP auth plugin"
|
||||
unzip -q -o -j ${TESTRAIL_RELEASE_DIR}/${TESTRAIL_PLUGIN_FILE} ${TESTRAIL_PLUGIN_FULLNAME}/auth.php -d ${TR_CUSTOM_AUTH_DIR}
|
||||
|
||||
createOptDirectory ${TR_DEFAULT_LOG_DIR}
|
||||
createOptDirectory ${TR_DEFAULT_AUDIT_DIR}
|
||||
createOptDirectory ${TR_DEFAULT_REPORT_DIR}
|
||||
createOptDirectory ${TR_DEFAULT_ATTACHMENT_DIR}
|
||||
|
||||
chown -R www-data:www-data ${TR_CONFIG_DIR}
|
||||
|
||||
#################################################################################
|
||||
|
||||
echo "[testrail] Waiting for background task file"
|
||||
while [ ! -f /var/www/testrail/task.php ]
|
||||
do
|
||||
sleep 2
|
||||
done
|
||||
|
||||
echo "[testrail] Starting background task"
|
||||
while /bin/true; do
|
||||
php /var/www/testrail/task.php || true
|
||||
sleep ${TR_DEFAULT_TASK_EXECUTION}
|
||||
done &
|
||||
echo "[testrail] Background task stoped"
|
||||
|
||||
#################################################################################
|
||||
|
||||
if [[ -z "${FIX_WWW_DATA}" ]]; then
|
||||
echo "[apache2] env FIX_WWW_DATA is not set. Fixing permissions anyway"
|
||||
chown www-data:www-data /var/www -R
|
||||
elif [ "${FIX_WWW_DATA}" == "false" ]; then
|
||||
echo "[apache2] env FIX_WWW_DATA is set to false. Skipping..."
|
||||
elif [ "${FIX_WWW_DATA}" == "true" ]; then
|
||||
echo "[apache2] Changing permissions for /var/www path. Dont worry, please wait."
|
||||
chown www-data:www-data /var/www -R
|
||||
echo "[apache2] Done"
|
||||
else
|
||||
echo "[apache2] env FIX_WWW_DATA is set to strange value. Skipping..."
|
||||
fi
|
||||
|
||||
echo "[apache2] Starting up"
|
||||
|
||||
source /etc/apache2/envvars
|
||||
tail -F /var/log/apache2/* &
|
||||
exec apache2 -D FOREGROUND
|
@ -1,2 +0,0 @@
|
||||
TESTRAIL_VERSION=8.0.1.1030
|
||||
DOWNLOAD_URL=https://secure.testrail.com/downloads/testrail/testrail-${TESTRAIL_VERSION}-ion81.zip
|
@ -1,71 +0,0 @@
|
||||
FROM epicmorg/apache2:php8.1
|
||||
|
||||
##############################################################################
|
||||
# Testrail Install
|
||||
##############################################################################
|
||||
|
||||
|
||||
ARG TESTRAIL_VERSION=8.0.1.1030
|
||||
ARG DOWNLOAD_URL=https://secure.testrail.com/downloads/testrail/testrail-${TESTRAIL_VERSION}-ion81.zip
|
||||
|
||||
ENV TR_DEFAULT_TASK_EXECUTION=60
|
||||
|
||||
ENV TESTRAIL_RELEASE_DIR=/testrail-release
|
||||
|
||||
ENV TR_WWW_PATH=/var/www/testrail
|
||||
ENV TR_CONFIGPATH=${TR_CONFIG_DIR}
|
||||
ENV TR_CONFIG_DIR=${TR_WWW_PATH}/config
|
||||
ENV TR_CUSTOM_DIR=${TR_WWW_PATH}/custom
|
||||
ENV TR_CUSTOM_AUTH_DIR=${TR_CUSTOM_DIR}/auth
|
||||
|
||||
ENV TR_OPT_PATH=/opt/testrail
|
||||
ENV TR_DEFAULT_LOG_DIR=${TR_OPT_PATH}/logs
|
||||
ENV TR_DEFAULT_AUDIT_DIR=${TR_OPT_PATH}/audit
|
||||
ENV TR_DEFAULT_REPORT_DIR=${TR_OPT_PATH}/reports
|
||||
ENV TR_DEFAULT_ATTACHMENT_DIR=${TR_OPT_PATH}/attachments
|
||||
|
||||
ENV TR_OPTPATH="/opt/testrail/"
|
||||
ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
mkdir -p ${TR_WWW_PATH} && \
|
||||
mkdir -p ${TR_DEFAULT_ATTACHMENT_DIR} ${TR_DEFAULT_REPORT_DIR} ${TR_DEFAULT_AUDIT_DIR} ${TR_DEFAULT_LOG_DIR} && \
|
||||
echo "[testrail] Downloading and installing" && \
|
||||
wget --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --no-check-certificate -O ${TESTRAIL_RELEASE_DIR}/testrail.zip ${DOWNLOAD_URL} && \
|
||||
chown -R www-data:www-data ${TESTRAIL_RELEASE_DIR} && \
|
||||
unzip -q -o ${TESTRAIL_RELEASE_DIR}/testrail.zip -d /var/www/ && \
|
||||
chown -R www-data:www-data ${TR_WWW_PATH} && \
|
||||
ls -las ${TR_WWW_PATH} && \
|
||||
chown -R www-data:www-data ${TR_OPT_PATH} && \
|
||||
ls -las ${TR_OPT_PATH}
|
||||
|
||||
RUN echo "[testrail] Testrail version is: $(cat ${TR_WWW_PATH}/version.txt)"
|
||||
|
||||
COPY apache_testrail.conf ${TESTRAIL_RELEASE_DIR}/apache-conf/000-default.conf
|
||||
|
||||
#healthcheck. good practice
|
||||
HEALTHCHECK --interval=2m --timeout=3s CMD curl -f http://localhost:80/ || exit 1
|
||||
|
||||
# Add image configuration and scripts
|
||||
COPY docker-entrypoint.sh /usr/bin/docker-entrypoint.sh
|
||||
RUN chmod 755 /usr/bin/docker-entrypoint.sh
|
||||
|
||||
RUN updatedb
|
||||
|
||||
#Final config
|
||||
WORKDIR /var/www/testrail
|
||||
EXPOSE 80 443
|
||||
|
||||
ENTRYPOINT ["tini", "-s", "--", "docker-entrypoint.sh"]
|
||||
CMD ["docker-entrypoint.sh"]
|
@ -1,36 +0,0 @@
|
||||
PIP_BREAK_SYSTEM_PACKAGES=1
|
||||
|
||||
all: app
|
||||
|
||||
app:
|
||||
make build
|
||||
make deploy
|
||||
make clean
|
||||
|
||||
build:
|
||||
kaniko-wrapper --version
|
||||
|
||||
dry:
|
||||
make dry-run
|
||||
|
||||
test:
|
||||
make dry-run
|
||||
|
||||
dry-run:
|
||||
kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run
|
||||
|
||||
build-compose:
|
||||
docker-compose build --compress --parallel --progress plain
|
||||
|
||||
deploy:
|
||||
kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug
|
||||
|
||||
deploy-compose:
|
||||
docker-compose push
|
||||
|
||||
clean:
|
||||
docker container prune -f
|
||||
docker image prune -f
|
||||
docker network prune -f
|
||||
docker volume prune -f
|
||||
docker system prune -af
|
@ -1,36 +0,0 @@
|
||||
## Testrail
|
||||
|
||||
* Based on `websites:php8.1` of our ecosystem.
|
||||
|
||||
# Compose example
|
||||
|
||||
```yml
|
||||
version: '3.7'
|
||||
services:
|
||||
testrail:
|
||||
image: epicmorg/testrail:8.0.1.1030
|
||||
# depends_on:
|
||||
# - mysql
|
||||
# - memcached
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime
|
||||
- /etc/timezone:/etc/timezone
|
||||
# - /etc/letsencrypt:/etc/letsencrypt
|
||||
- www:/var/www
|
||||
- apache2:/etc/apache2
|
||||
- php:/etc/php
|
||||
restart: unless-stopped
|
||||
# extra_hosts:
|
||||
# - "example.com:192.168.0.11"
|
||||
tmpfs:
|
||||
- /tmp
|
||||
- /var/lib/php/sessions
|
||||
volumes:
|
||||
www:
|
||||
external: true
|
||||
apache2:
|
||||
external: true
|
||||
php:
|
||||
external: true
|
||||
```
|
@ -1,16 +0,0 @@
|
||||
<VirtualHost *:80>
|
||||
ServerName localhost
|
||||
|
||||
ServerAdmin webmaster@localhost
|
||||
DocumentRoot /var/www/testrail
|
||||
|
||||
ErrorLog ${APACHE_LOG_DIR}/error.log
|
||||
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
||||
|
||||
<Directory /var/www/>
|
||||
Options Indexes FollowSymLinks
|
||||
AllowOverride All
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
||||
</VirtualHost>
|
@ -1,6 +0,0 @@
|
||||
#version: '3.9'
|
||||
services:
|
||||
app:
|
||||
image: "epicmorg/testrail:8.0.1.1030"
|
||||
build:
|
||||
context: .
|
@ -1,67 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "[testrail] Welcome to Testrail 8.0.1.1030"
|
||||
|
||||
echo "[testrail] Starting testrail service"
|
||||
|
||||
#################################################################################
|
||||
|
||||
function createOptDirectory {
|
||||
if [ ! -d $1 ]
|
||||
then
|
||||
echo "[testrail] Creating " $1
|
||||
mkdir -p $1
|
||||
fi
|
||||
|
||||
chown -R www-data:www-data $1
|
||||
}
|
||||
|
||||
/bin/cp -rf ${TESTRAIL_RELEASE_DIR}/apache-conf/000-default.conf /etc/apache2/sites-enabled/000-default.conf
|
||||
|
||||
echo "[testrail] Unzipping testrail service"
|
||||
unzip -q -o ${TESTRAIL_RELEASE_DIR}/testrail.zip -d /var/www/
|
||||
echo "[testrail] Testrail extracted"
|
||||
|
||||
createOptDirectory ${TR_DEFAULT_LOG_DIR}
|
||||
createOptDirectory ${TR_DEFAULT_AUDIT_DIR}
|
||||
createOptDirectory ${TR_DEFAULT_REPORT_DIR}
|
||||
createOptDirectory ${TR_DEFAULT_ATTACHMENT_DIR}
|
||||
|
||||
chown -R www-data:www-data ${TR_CONFIG_DIR}
|
||||
chown -R www-data:www-data ${TR_CONFIGPATH}
|
||||
|
||||
#################################################################################
|
||||
|
||||
echo "[testrail] Waiting for background task file"
|
||||
while [ ! -f /var/www/testrail/task.php ]
|
||||
do
|
||||
sleep 2
|
||||
done
|
||||
|
||||
echo "[testrail] Starting background task"
|
||||
while /bin/true; do
|
||||
php /var/www/testrail/task.php || true
|
||||
sleep ${TR_DEFAULT_TASK_EXECUTION}
|
||||
done &
|
||||
echo "[testrail] Background task stoped"
|
||||
|
||||
#################################################################################
|
||||
|
||||
if [[ -z "${FIX_WWW_DATA}" ]]; then
|
||||
echo "[apache2] env FIX_WWW_DATA is not set. Fixing permissions anyway"
|
||||
chown www-data:www-data /var/www -R
|
||||
elif [ "${FIX_WWW_DATA}" == "false" ]; then
|
||||
echo "[apache2] env FIX_WWW_DATA is set to false. Skipping..."
|
||||
elif [ "${FIX_WWW_DATA}" == "true" ]; then
|
||||
echo "[apache2] Changing permissions for /var/www path. Dont worry, please wait."
|
||||
chown www-data:www-data /var/www -R
|
||||
echo "[apache2] Done"
|
||||
else
|
||||
echo "[apache2] env FIX_WWW_DATA is set to strange value. Skipping..."
|
||||
fi
|
||||
|
||||
echo "[apache2] Starting up"
|
||||
|
||||
source /etc/apache2/envvars
|
||||
tail -F /var/log/apache2/* &
|
||||
exec apache2 -D FOREGROUND
|
@ -1,13 +0,0 @@
|
||||
FROM epicmorg/testrail:8.0.1.1033
|
||||
|
||||
ENV TESTRAIL_PLUGIN_VERSION=1.4
|
||||
ENV TESTRAIL_PLUGIN_NAME=ad
|
||||
ENV TESTRAIL_PLUGIN_FULLNAME=testrail-auth-${TESTRAIL_PLUGIN_NAME}-${TESTRAIL_PLUGIN_VERSION}
|
||||
ENV TESTRAIL_PLUGIN_FILE=${TESTRAIL_PLUGIN_FULLNAME}.zip
|
||||
ENV TESTRAIL_PLUGIN_DONWLOAD_URL=https://media.gurock.com/gk-media/downloads/${TESTRAIL_PLUGIN_FILE}
|
||||
ENV TESTRAIL_PLUGIN_TEMP=${TESTRAIL_RELEASE_DIR}/${TESTRAIL_PLUGIN_FILE}
|
||||
|
||||
RUN rm -rfv /usr/bin/docker-entrypoint.sh
|
||||
COPY docker-entrypoint.sh /usr/bin/docker-entrypoint.sh
|
||||
|
||||
RUN wget --no-check-certificate -O ${TESTRAIL_PLUGIN_TEMP} ${TESTRAIL_PLUGIN_DONWLOAD_URL}
|
@ -1,36 +0,0 @@
|
||||
PIP_BREAK_SYSTEM_PACKAGES=1
|
||||
|
||||
all: app
|
||||
|
||||
app:
|
||||
make build
|
||||
make deploy
|
||||
make clean
|
||||
|
||||
build:
|
||||
kaniko-wrapper --version
|
||||
|
||||
dry:
|
||||
make dry-run
|
||||
|
||||
test:
|
||||
make dry-run
|
||||
|
||||
dry-run:
|
||||
kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run
|
||||
|
||||
build-compose:
|
||||
docker-compose build --compress --parallel --progress plain
|
||||
|
||||
deploy:
|
||||
kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug
|
||||
|
||||
deploy-compose:
|
||||
docker-compose push
|
||||
|
||||
clean:
|
||||
docker container prune -f
|
||||
docker image prune -f
|
||||
docker network prune -f
|
||||
docker volume prune -f
|
||||
docker system prune -af
|
@ -1,36 +0,0 @@
|
||||
## Testrail
|
||||
|
||||
* Based on `websites:php8.1` of our ecosystem.
|
||||
|
||||
# Compose example
|
||||
|
||||
```yml
|
||||
version: '3.7'
|
||||
services:
|
||||
testrail:
|
||||
image: epicmorg/testrail-ad-:8.0.1.1033
|
||||
# depends_on:
|
||||
# - mysql
|
||||
# - memcached
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime
|
||||
- /etc/timezone:/etc/timezone
|
||||
# - /etc/letsencrypt:/etc/letsencrypt
|
||||
- www:/var/www
|
||||
- apache2:/etc/apache2
|
||||
- php:/etc/php
|
||||
restart: unless-stopped
|
||||
# extra_hosts:
|
||||
# - "example.com:192.168.0.11"
|
||||
tmpfs:
|
||||
- /tmp
|
||||
- /var/lib/php/sessions
|
||||
volumes:
|
||||
www:
|
||||
external: true
|
||||
apache2:
|
||||
external: true
|
||||
php:
|
||||
external: true
|
||||
```
|
@ -1,6 +0,0 @@
|
||||
#version: '3.9'
|
||||
services:
|
||||
app:
|
||||
image: "epicmorg/testrail:auth-ad-8.0.1.1033"
|
||||
build:
|
||||
context: .
|
@ -1,68 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "[testrail] Welcome to Testrail 8.0.1.1033 with Active Directory plugin"
|
||||
|
||||
echo "[testrail] Starting Testrail service"
|
||||
|
||||
##################################################################################
|
||||
|
||||
function createOptDirectory {
|
||||
if [ ! -d $1 ]
|
||||
then
|
||||
echo "[testrail] Creating " $1
|
||||
mkdir -p $1
|
||||
fi
|
||||
|
||||
chown -R www-data:www-data $1
|
||||
}
|
||||
|
||||
/bin/cp -rf ${TESTRAIL_RELEASE_DIR}/apache-conf/000-default.conf /etc/apache2/sites-enabled/000-default.conf
|
||||
|
||||
echo "[testrail] Unzipping testrail service"
|
||||
unzip -q -o ${TESTRAIL_RELEASE_DIR}/testrail.zip -d /var/www/
|
||||
|
||||
echo "[testrail] Unzipping testrail Active Directory auth plugin"
|
||||
unzip -q -o -j ${TESTRAIL_RELEASE_DIR}/${TESTRAIL_PLUGIN_FILE} ${TESTRAIL_PLUGIN_FULLNAME}/auth.php -d ${TR_CUSTOM_AUTH_DIR}
|
||||
|
||||
createOptDirectory ${TR_DEFAULT_LOG_DIR}
|
||||
createOptDirectory ${TR_DEFAULT_AUDIT_DIR}
|
||||
createOptDirectory ${TR_DEFAULT_REPORT_DIR}
|
||||
createOptDirectory ${TR_DEFAULT_ATTACHMENT_DIR}
|
||||
|
||||
chown -R www-data:www-data ${TR_CONFIG_DIR}
|
||||
|
||||
#################################################################################
|
||||
|
||||
echo "[testrail] Waiting for background task file"
|
||||
while [ ! -f /var/www/testrail/task.php ]
|
||||
do
|
||||
sleep 2
|
||||
done
|
||||
|
||||
echo "[testrail] Starting background task"
|
||||
while /bin/true; do
|
||||
php /var/www/testrail/task.php || true
|
||||
sleep ${TR_DEFAULT_TASK_EXECUTION}
|
||||
done &
|
||||
echo "[testrail] Background task stoped"
|
||||
|
||||
#################################################################################
|
||||
|
||||
if [[ -z "${FIX_WWW_DATA}" ]]; then
|
||||
echo "[apache2] env FIX_WWW_DATA is not set. Fixing permissions anyway"
|
||||
chown www-data:www-data /var/www -R
|
||||
elif [ "${FIX_WWW_DATA}" == "false" ]; then
|
||||
echo "[apache2] env FIX_WWW_DATA is set to false. Skipping..."
|
||||
elif [ "${FIX_WWW_DATA}" == "true" ]; then
|
||||
echo "[apache2] Changing permissions for /var/www path. Dont worry, please wait."
|
||||
chown www-data:www-data /var/www -R
|
||||
echo "[apache2] Done"
|
||||
else
|
||||
echo "[apache2] env FIX_WWW_DATA is set to strange value. Skipping..."
|
||||
fi
|
||||
|
||||
echo "[apache2] Starting up"
|
||||
|
||||
source /etc/apache2/envvars
|
||||
tail -F /var/log/apache2/* &
|
||||
exec apache2 -D FOREGROUND
|
@ -1,13 +0,0 @@
|
||||
FROM epicmorg/testrail:8.0.1.1033
|
||||
|
||||
ENV TESTRAIL_PLUGIN_VERSION=1.4
|
||||
ENV TESTRAIL_PLUGIN_NAME=ldap
|
||||
ENV TESTRAIL_PLUGIN_FULLNAME=testrail-auth-${TESTRAIL_PLUGIN_NAME}-${TESTRAIL_PLUGIN_VERSION}
|
||||
ENV TESTRAIL_PLUGIN_FILE=${TESTRAIL_PLUGIN_FULLNAME}.zip
|
||||
ENV TESTRAIL_PLUGIN_DONWLOAD_URL=https://media.gurock.com/gk-media/downloads/${TESTRAIL_PLUGIN_FILE}
|
||||
ENV TESTRAIL_PLUGIN_TEMP=${TESTRAIL_RELEASE_DIR}/${TESTRAIL_PLUGIN_FILE}
|
||||
|
||||
RUN rm -rfv /usr/bin/docker-entrypoint.sh
|
||||
COPY docker-entrypoint.sh /usr/bin/docker-entrypoint.sh
|
||||
|
||||
RUN wget --no-check-certificate -O ${TESTRAIL_PLUGIN_TEMP} ${TESTRAIL_PLUGIN_DONWLOAD_URL}
|
@ -1,36 +0,0 @@
|
||||
PIP_BREAK_SYSTEM_PACKAGES=1
|
||||
|
||||
all: app
|
||||
|
||||
app:
|
||||
make build
|
||||
make deploy
|
||||
make clean
|
||||
|
||||
build:
|
||||
kaniko-wrapper --version
|
||||
|
||||
dry:
|
||||
make dry-run
|
||||
|
||||
test:
|
||||
make dry-run
|
||||
|
||||
dry-run:
|
||||
kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run
|
||||
|
||||
build-compose:
|
||||
docker-compose build --compress --parallel --progress plain
|
||||
|
||||
deploy:
|
||||
kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug
|
||||
|
||||
deploy-compose:
|
||||
docker-compose push
|
||||
|
||||
clean:
|
||||
docker container prune -f
|
||||
docker image prune -f
|
||||
docker network prune -f
|
||||
docker volume prune -f
|
||||
docker system prune -af
|
@ -1,36 +0,0 @@
|
||||
## Testrail
|
||||
|
||||
* Based on `websites:php8.1` of our ecosystem.
|
||||
|
||||
# Compose example
|
||||
|
||||
```yml
|
||||
version: '3.7'
|
||||
services:
|
||||
testrail:
|
||||
image: epicmorg/testrail:auth-ldap-8.0.1.1033
|
||||
# depends_on:
|
||||
# - mysql
|
||||
# - memcached
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime
|
||||
- /etc/timezone:/etc/timezone
|
||||
# - /etc/letsencrypt:/etc/letsencrypt
|
||||
- www:/var/www
|
||||
- apache2:/etc/apache2
|
||||
- php:/etc/php
|
||||
restart: unless-stopped
|
||||
# extra_hosts:
|
||||
# - "example.com:192.168.0.11"
|
||||
tmpfs:
|
||||
- /tmp
|
||||
- /var/lib/php/sessions
|
||||
volumes:
|
||||
www:
|
||||
external: true
|
||||
apache2:
|
||||
external: true
|
||||
php:
|
||||
external: true
|
||||
```
|
@ -1,6 +0,0 @@
|
||||
#version: '3.9'
|
||||
services:
|
||||
app:
|
||||
image: "epicmorg/testrail:auth-ldap-8.0.1.1033"
|
||||
build:
|
||||
context: .
|
@ -1,68 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "[testrail] Welcome to Testrail 8.0.1.1033 with LDAP plugin"
|
||||
|
||||
echo "[testrail] Starting testrail service"
|
||||
|
||||
#################################################################################
|
||||
|
||||
function createOptDirectory {
|
||||
if [ ! -d $1 ]
|
||||
then
|
||||
echo "[testrail] Creating " $1
|
||||
mkdir -p $1
|
||||
fi
|
||||
|
||||
chown -R www-data:www-data $1
|
||||
}
|
||||
|
||||
/bin/cp -rf ${TESTRAIL_RELEASE_DIR}/apache-conf/000-default.conf /etc/apache2/sites-enabled/000-default.conf
|
||||
|
||||
echo "[testrail] Unzipping testrail service"
|
||||
unzip -q -o ${TESTRAIL_RELEASE_DIR}/testrail.zip -d /var/www/
|
||||
|
||||
echo "[testrail] Unzipping testrail LDAP auth plugin"
|
||||
unzip -q -o -j ${TESTRAIL_RELEASE_DIR}/${TESTRAIL_PLUGIN_FILE} ${TESTRAIL_PLUGIN_FULLNAME}/auth.php -d ${TR_CUSTOM_AUTH_DIR}
|
||||
|
||||
createOptDirectory ${TR_DEFAULT_LOG_DIR}
|
||||
createOptDirectory ${TR_DEFAULT_AUDIT_DIR}
|
||||
createOptDirectory ${TR_DEFAULT_REPORT_DIR}
|
||||
createOptDirectory ${TR_DEFAULT_ATTACHMENT_DIR}
|
||||
|
||||
chown -R www-data:www-data ${TR_CONFIG_DIR}
|
||||
|
||||
#################################################################################
|
||||
|
||||
echo "[testrail] Waiting for background task file"
|
||||
while [ ! -f /var/www/testrail/task.php ]
|
||||
do
|
||||
sleep 2
|
||||
done
|
||||
|
||||
echo "[testrail] Starting background task"
|
||||
while /bin/true; do
|
||||
php /var/www/testrail/task.php || true
|
||||
sleep ${TR_DEFAULT_TASK_EXECUTION}
|
||||
done &
|
||||
echo "[testrail] Background task stoped"
|
||||
|
||||
#################################################################################
|
||||
|
||||
if [[ -z "${FIX_WWW_DATA}" ]]; then
|
||||
echo "[apache2] env FIX_WWW_DATA is not set. Fixing permissions anyway"
|
||||
chown www-data:www-data /var/www -R
|
||||
elif [ "${FIX_WWW_DATA}" == "false" ]; then
|
||||
echo "[apache2] env FIX_WWW_DATA is set to false. Skipping..."
|
||||
elif [ "${FIX_WWW_DATA}" == "true" ]; then
|
||||
echo "[apache2] Changing permissions for /var/www path. Dont worry, please wait."
|
||||
chown www-data:www-data /var/www -R
|
||||
echo "[apache2] Done"
|
||||
else
|
||||
echo "[apache2] env FIX_WWW_DATA is set to strange value. Skipping..."
|
||||
fi
|
||||
|
||||
echo "[apache2] Starting up"
|
||||
|
||||
source /etc/apache2/envvars
|
||||
tail -F /var/log/apache2/* &
|
||||
exec apache2 -D FOREGROUND
|
@ -1,2 +0,0 @@
|
||||
TESTRAIL_VERSION=8.0.1.1033
|
||||
DOWNLOAD_URL=https://secure.testrail.com/downloads/testrail/testrail-${TESTRAIL_VERSION}-ion81.zip
|
@ -1,71 +0,0 @@
|
||||
FROM epicmorg/apache2:php8.1
|
||||
|
||||
##############################################################################
|
||||
# Testrail Install
|
||||
##############################################################################
|
||||
|
||||
|
||||
ARG TESTRAIL_VERSION=8.0.1.1033
|
||||
ARG DOWNLOAD_URL=https://secure.testrail.com/downloads/testrail/testrail-${TESTRAIL_VERSION}-ion81.zip
|
||||
|
||||
ENV TR_DEFAULT_TASK_EXECUTION=60
|
||||
|
||||
ENV TESTRAIL_RELEASE_DIR=/testrail-release
|
||||
|
||||
ENV TR_WWW_PATH=/var/www/testrail
|
||||
ENV TR_CONFIGPATH=${TR_CONFIG_DIR}
|
||||
ENV TR_CONFIG_DIR=${TR_WWW_PATH}/config
|
||||
ENV TR_CUSTOM_DIR=${TR_WWW_PATH}/custom
|
||||
ENV TR_CUSTOM_AUTH_DIR=${TR_CUSTOM_DIR}/auth
|
||||
|
||||
ENV TR_OPT_PATH=/opt/testrail
|
||||
ENV TR_DEFAULT_LOG_DIR=${TR_OPT_PATH}/logs
|
||||
ENV TR_DEFAULT_AUDIT_DIR=${TR_OPT_PATH}/audit
|
||||
ENV TR_DEFAULT_REPORT_DIR=${TR_OPT_PATH}/reports
|
||||
ENV TR_DEFAULT_ATTACHMENT_DIR=${TR_OPT_PATH}/attachments
|
||||
|
||||
ENV TR_OPTPATH="/opt/testrail/"
|
||||
ENV TR_CONFIGPATH="/var/www/testrail/config/"
|
||||
|
||||
ENV OPENSSL_CONF=/etc/ssl/
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zlib1g-dev libcurl4-gnutls-dev libldap2-dev zlib1g-dev libxml2-dev libfontconfig1 && \
|
||||
apt-get clean && \
|
||||
echo "ServerName localhost" >> /etc/apache2/apache2.conf && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /run.sh && \
|
||||
rm -rf /tmp/*
|
||||
|
||||
RUN echo "[testrail] Preparing folders" && \
|
||||
mkdir -p ${TESTRAIL_RELEASE_DIR} && \
|
||||
mkdir -p ${TR_WWW_PATH} && \
|
||||
mkdir -p ${TR_DEFAULT_ATTACHMENT_DIR} ${TR_DEFAULT_REPORT_DIR} ${TR_DEFAULT_AUDIT_DIR} ${TR_DEFAULT_LOG_DIR} && \
|
||||
echo "[testrail] Downloading and installing" && \
|
||||
wget --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" --no-check-certificate -O ${TESTRAIL_RELEASE_DIR}/testrail.zip ${DOWNLOAD_URL} && \
|
||||
chown -R www-data:www-data ${TESTRAIL_RELEASE_DIR} && \
|
||||
unzip -q -o ${TESTRAIL_RELEASE_DIR}/testrail.zip -d /var/www/ && \
|
||||
chown -R www-data:www-data ${TR_WWW_PATH} && \
|
||||
ls -las ${TR_WWW_PATH} && \
|
||||
chown -R www-data:www-data ${TR_OPT_PATH} && \
|
||||
ls -las ${TR_OPT_PATH}
|
||||
|
||||
RUN echo "[testrail] Testrail version is: $(cat ${TR_WWW_PATH}/version.txt)"
|
||||
|
||||
COPY apache_testrail.conf ${TESTRAIL_RELEASE_DIR}/apache-conf/000-default.conf
|
||||
|
||||
#healthcheck. good practice
|
||||
HEALTHCHECK --interval=2m --timeout=3s CMD curl -f http://localhost:80/ || exit 1
|
||||
|
||||
# Add image configuration and scripts
|
||||
COPY docker-entrypoint.sh /usr/bin/docker-entrypoint.sh
|
||||
RUN chmod 755 /usr/bin/docker-entrypoint.sh
|
||||
|
||||
RUN updatedb
|
||||
|
||||
#Final config
|
||||
WORKDIR /var/www/testrail
|
||||
EXPOSE 80 443
|
||||
|
||||
ENTRYPOINT ["tini", "-s", "--", "docker-entrypoint.sh"]
|
||||
CMD ["docker-entrypoint.sh"]
|
@ -1,36 +0,0 @@
|
||||
PIP_BREAK_SYSTEM_PACKAGES=1
|
||||
|
||||
all: app
|
||||
|
||||
app:
|
||||
make build
|
||||
make deploy
|
||||
make clean
|
||||
|
||||
build:
|
||||
kaniko-wrapper --version
|
||||
|
||||
dry:
|
||||
make dry-run
|
||||
|
||||
test:
|
||||
make dry-run
|
||||
|
||||
dry-run:
|
||||
kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run
|
||||
|
||||
build-compose:
|
||||
docker-compose build --compress --parallel --progress plain
|
||||
|
||||
deploy:
|
||||
kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug
|
||||
|
||||
deploy-compose:
|
||||
docker-compose push
|
||||
|
||||
clean:
|
||||
docker container prune -f
|
||||
docker image prune -f
|
||||
docker network prune -f
|
||||
docker volume prune -f
|
||||
docker system prune -af
|
@ -1,36 +0,0 @@
|
||||
## Testrail
|
||||
|
||||
* Based on `websites:php8.1` of our ecosystem.
|
||||
|
||||
# Compose example
|
||||
|
||||
```yml
|
||||
version: '3.7'
|
||||
services:
|
||||
testrail:
|
||||
image: epicmorg/testrail:8.0.1.1033
|
||||
# depends_on:
|
||||
# - mysql
|
||||
# - memcached
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime
|
||||
- /etc/timezone:/etc/timezone
|
||||
# - /etc/letsencrypt:/etc/letsencrypt
|
||||
- www:/var/www
|
||||
- apache2:/etc/apache2
|
||||
- php:/etc/php
|
||||
restart: unless-stopped
|
||||
# extra_hosts:
|
||||
# - "example.com:192.168.0.11"
|
||||
tmpfs:
|
||||
- /tmp
|
||||
- /var/lib/php/sessions
|
||||
volumes:
|
||||
www:
|
||||
external: true
|
||||
apache2:
|
||||
external: true
|
||||
php:
|
||||
external: true
|
||||
```
|
@ -1,16 +0,0 @@
|
||||
<VirtualHost *:80>
|
||||
ServerName localhost
|
||||
|
||||
ServerAdmin webmaster@localhost
|
||||
DocumentRoot /var/www/testrail
|
||||
|
||||
ErrorLog ${APACHE_LOG_DIR}/error.log
|
||||
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
||||
|
||||
<Directory /var/www/>
|
||||
Options Indexes FollowSymLinks
|
||||
AllowOverride All
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
||||
</VirtualHost>
|
@ -1,6 +0,0 @@
|
||||
#version: '3.9'
|
||||
services:
|
||||
app:
|
||||
image: "epicmorg/testrail:8.0.1.1033"
|
||||
build:
|
||||
context: .
|
@ -1,67 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "[testrail] Welcome to Testrail 8.0.1.1033"
|
||||
|
||||
echo "[testrail] Starting testrail service"
|
||||
|
||||
#################################################################################
|
||||
|
||||
function createOptDirectory {
|
||||
if [ ! -d $1 ]
|
||||
then
|
||||
echo "[testrail] Creating " $1
|
||||
mkdir -p $1
|
||||
fi
|
||||
|
||||
chown -R www-data:www-data $1
|
||||
}
|
||||
|
||||
/bin/cp -rf ${TESTRAIL_RELEASE_DIR}/apache-conf/000-default.conf /etc/apache2/sites-enabled/000-default.conf
|
||||
|
||||
echo "[testrail] Unzipping testrail service"
|
||||
unzip -q -o ${TESTRAIL_RELEASE_DIR}/testrail.zip -d /var/www/
|
||||
echo "[testrail] Testrail extracted"
|
||||
|
||||
createOptDirectory ${TR_DEFAULT_LOG_DIR}
|
||||
createOptDirectory ${TR_DEFAULT_AUDIT_DIR}
|
||||
createOptDirectory ${TR_DEFAULT_REPORT_DIR}
|
||||
createOptDirectory ${TR_DEFAULT_ATTACHMENT_DIR}
|
||||
|
||||
chown -R www-data:www-data ${TR_CONFIG_DIR}
|
||||
chown -R www-data:www-data ${TR_CONFIGPATH}
|
||||
|
||||
#################################################################################
|
||||
|
||||
echo "[testrail] Waiting for background task file"
|
||||
while [ ! -f /var/www/testrail/task.php ]
|
||||
do
|
||||
sleep 2
|
||||
done
|
||||
|
||||
echo "[testrail] Starting background task"
|
||||
while /bin/true; do
|
||||
php /var/www/testrail/task.php || true
|
||||
sleep ${TR_DEFAULT_TASK_EXECUTION}
|
||||
done &
|
||||
echo "[testrail] Background task stoped"
|
||||
|
||||
#################################################################################
|
||||
|
||||
if [[ -z "${FIX_WWW_DATA}" ]]; then
|
||||
echo "[apache2] env FIX_WWW_DATA is not set. Fixing permissions anyway"
|
||||
chown www-data:www-data /var/www -R
|
||||
elif [ "${FIX_WWW_DATA}" == "false" ]; then
|
||||
echo "[apache2] env FIX_WWW_DATA is set to false. Skipping..."
|
||||
elif [ "${FIX_WWW_DATA}" == "true" ]; then
|
||||
echo "[apache2] Changing permissions for /var/www path. Dont worry, please wait."
|
||||
chown www-data:www-data /var/www -R
|
||||
echo "[apache2] Done"
|
||||
else
|
||||
echo "[apache2] env FIX_WWW_DATA is set to strange value. Skipping..."
|
||||
fi
|
||||
|
||||
echo "[apache2] Starting up"
|
||||
|
||||
source /etc/apache2/envvars
|
||||
tail -F /var/log/apache2/* &
|
||||
exec apache2 -D FOREGROUND
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user