joal/Dockerfile.arm
2018-03-18 00:52:53 +01:00

21 lines
632 B
Text

FROM hypriot/rpi-java:jre-1.8.111
WORKDIR /joal/
RUN apt-get update \
&& apt-get install -y ca-certificates curl \
&& JOAL_VERSION="2.0.10" \
&& curl -LO "https://github.com/anthonyraymond/joal/releases/download/v$JOAL_VERSION/joal.tar.gz" \
&& tar --wildcards -zxvf joal.tar.gz "jack-of-all-trades-$JOAL_VERSION.jar" \
&& mv "jack-of-all-trades-$JOAL_VERSION.jar" joal.jar \
&& rm joal.tar.gz \
&& apt-get remove -y curl \
&& rm -rf /var/lib/apt/lists/*
EXPOSE 5081 49152-65534
VOLUME /data
ENTRYPOINT ["java","-jar","/joal/joal.jar"]
CMD ["--joal-conf=/data"]