Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (13 sloc) 365 Bytes
# AlpineLinux with a Open JDK8
FROM alpine:3.4
MAINTAINER Marc J. Greenberg <codemarc@gmail.com>
RUN apk add --no-cache openjdk8 && \
ln -sf "${JAVA_HOME}/bin/"* "/usr/bin/"
ENV JAVA_HOME=/usr/lib/jvm/default-jvm
EXPOSE 8080
# Add the web app and jetty runner
WORKDIR /swc2
COPY jetty-runner.jar .
COPY target/swc2-1.0.war .
COPY swc2.sh .
CMD "./swc2.sh"