xmpp-compliance-tester

XMPP Compliance Tester, forked from github.com/iNPUTmice/ComplianceTester
git clone https://git.in0rdr.ch/xmpp-compliance-tester.git
Log | Files | Refs | Pull requests |Archive | README | LICENSE

Dockerfile (480B)


      1 FROM docker.io/maven:3 AS builder
      2 
      3 # https://github.com/iNPUTmice/ComplianceTester
      4 RUN git clone https://git.in0rdr.ch/xmpp-compliance-tester.git /build
      5 WORKDIR /build
      6 RUN mvn package
      7 
      8 FROM openjdk:jre-alpine
      9 COPY --from=builder /build/target/ComplianceTester-0.2.3.jar ComplianceTester-0.2.3.jar
     10 
     11 # XMPP username and password from env
     12 ENV XMPP_USER=username@domain.tld
     13 ENV XMPP_PASSWORD=password
     14 
     15 CMD ["sh", "-c", "java -jar ComplianceTester-0.2.3.jar $XMPP_USER $XMPP_PASSWORD"]