Skip to content

Instantly share code, notes, and snippets.

@HokieGeek
Last active August 28, 2019 18:17
Show Gist options
  • Save HokieGeek/6faf54abd34ff5b04a50e30fed57f4f1 to your computer and use it in GitHub Desktop.
Save HokieGeek/6faf54abd34ff5b04a50e30fed57f4f1 to your computer and use it in GitHub Desktop.
ARG IQ_VERSION=1.71.0-01
FROM openjdk:8u212-jdk-windowsservercore
RUN mkdir -p C:\\scan
VOLUME C:\\scan
ADD https://download.sonatype.com/clm/scanner/nexus-iq-cli-${IQ_VERSION}.jar C:\\app\\nexus-iq-cli.jar
ENTRYPOINT ["java", "-jar", "C:\\app\\nexus-iq-cli.jar", "C:\\scan"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment