github.com/ouraigua/jenkins-library@v0.0.0-20231028010029-fbeaf2f3aa9b/integration/testdata/TestGaugeIntegration/gauge-java/Dockerfile (about) 1 # Building the image 2 # docker build -t gauge-java . 3 # Running the image 4 # docker run --rm -it -v ${PWD}/reports:/gauge/reports gauge-java 5 6 # This image uses the official openjdk base image. 7 8 FROM openjdk 9 10 # Install gauge 11 RUN microdnf install -y unzip \ 12 && curl -Ssl https://downloads.gauge.org/stable | sh 13 14 # Set working directory 15 WORKDIR /gauge 16 17 # Copy the local source folder 18 COPY . . 19 20 # Install gauge plugins 21 RUN gauge install \ 22 && gauge install screenshot 23 24 CMD ["gauge", "run", "specs"]