docker: Add a dockerfile to export test result with allure

based on alpine
This commit is contained in:
Thibault Saunier 2018-11-04 20:24:10 -03:00 committed by Jordan Petridis
parent 778359feb8
commit 8ad477eb0e
No known key found for this signature in database
GPG key ID: 902CC06D159744F5

View file

@ -0,0 +1,9 @@
FROM anapsix/alpine-java:latest
# Get the allure test report framework
RUN export ALLURE_VERSION=2.7.0 && \
wget "https://bintray.com/qameta/generic/download_file?file_path=io%2Fqameta%2Fallure%2Fallure%2F2.7.0%2Fallure-${ALLURE_VERSION}.zip" -O allure.zip
unzip allure.zip && \
mv allure-${ALLURE_VERSION} /opt/allure && \
chmod +x /opt/allure/bin/allure && \
rm allure.zip