dockerfiles/mars/Dockerfile
Jess Frazelle 4f5bab0d32
switch to openjdk
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-10-05 12:19:08 -04:00

11 lines
293 B
Docker

FROM openjdk:8-alpine
RUN set -x \
&& apk add --no-cache --virtual .build-deps \
ca-certificates \
curl \
&& curl -sSL "http://courses.missouristate.edu/KenVollmar/mars/MARS_4_5_Aug2014/Mars4_5.jar" -o /mars.jar \
&& apk del .build-deps
ENTRYPOINT ["java", "-jar", "/mars.jar", "nc"]