docker-scripts/linux/ecosystem/testrail/ldap/Dockerfile

16 lines
595 B
Docker
Raw Normal View History

2022-01-25 19:01:36 +03:00
FROM epicmorg/testrail:latest
ARG TESTRAIL_RELEASE_DIR=/testrail-release
ARG TESTRAIL_PLUGIN_VERSION=1.4
ARG TESTRAIL_PLUGIN_NAME=ldap
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}
RUN rm -rfv /run.sh
COPY run.sh /run.sh
RUN wget --no-check-certificate -O ${TESTRAIL_PLUGIN_TEMP} ${TESTRAIL_PLUGIN_DONWLOAD_URL}