web-api-commander/CommanderTestingContainer

16 lines
473 B
Plaintext

FROM alpine:3.17.2
RUN apk add --update bash ca-certificates openjdk8 openjdk8-jre-base nss git gradle && \
rm -rf /var/cache/apk/*
RUN git clone --single-branch --branch main https://github.com/RESOStandards/web-api-commander.git
WORKDIR web-api-commander
ADD runCommander.sh /usr/local/bin/runCommander.sh
RUN ["chmod", "+x", "/usr/local/bin/runCommander.sh"]
ENTRYPOINT ["/usr/local/bin/runCommander.sh"]
CMD ["certificationCommand", "certificationRequestId"]