2022-01-25 19:01:36 +03:00
|
|
|
FROM epicmorg/testrail:latest
|
2020-07-30 17:52:12 +03:00
|
|
|
|
2022-01-25 19:01:36 +03:00
|
|
|
ARG TESTRAIL_RELEASE_DIR=/testrail-release
|
2020-07-30 17:52:12 +03:00
|
|
|
|
2022-01-25 19:01:36 +03:00
|
|
|
ARG TESTRAIL_PLUGIN_VERSION=1.4
|
|
|
|
ARG TESTRAIL_PLUGIN_NAME=ad
|
|
|
|
ARG TESTRAIL_PLUGIN_FULLNAME=testrail-auth-${TESTRAIL_PLUGIN_NAME}-${TESTRAIL_PLUGIN_VERSION}
|
|
|
|
ARG TESTRAIL_PLUGIN_FILE=${TESTRAIL_PLUGIN_FULLNAME}.zip
|
|
|
|
ARG TESTRAIL_PLUGIN_DONWLOAD_URL=https://media.gurock.com/gk-media/downloads/${TESTRAIL_PLUGIN_FILE}
|
|
|
|
ARG TESTRAIL_PLUGIN_TEMP=${TESTRAIL_RELEASE_DIR}/${TESTRAIL_PLUGIN_FILE}
|
2020-07-30 17:52:12 +03:00
|
|
|
|
2022-01-25 19:01:36 +03:00
|
|
|
RUN rm -rfv /run.sh
|
2020-07-30 17:52:12 +03:00
|
|
|
COPY run.sh /run.sh
|
|
|
|
|
2022-01-25 19:01:36 +03:00
|
|
|
RUN wget --no-check-certificate -O ${TESTRAIL_PLUGIN_TEMP} ${TESTRAIL_PLUGIN_DONWLOAD_URL}
|