joal/Dockerfile.arm

22 lines
632 B
Text
Raw Normal View History

2017-10-09 05:13:49 +08:00
FROM hypriot/rpi-java:jre-1.8.111
WORKDIR /joal/
RUN apt-get update \
2017-10-24 02:35:00 +08:00
&& apt-get install -y ca-certificates curl \
2018-03-18 07:32:52 +08:00
&& JOAL_VERSION="2.0.10" \
2017-10-24 02:44:48 +08:00
&& curl -LO "https://github.com/anthonyraymond/joal/releases/download/v$JOAL_VERSION/joal.tar.gz" \
2017-10-24 02:35:00 +08:00
&& tar --wildcards -zxvf joal.tar.gz "jack-of-all-trades-$JOAL_VERSION.jar" \
&& mv "jack-of-all-trades-$JOAL_VERSION.jar" joal.jar \
2017-10-09 05:13:49 +08:00
&& rm joal.tar.gz \
2017-10-24 02:35:00 +08:00
&& apt-get remove -y curl \
2017-10-09 05:13:49 +08:00
&& rm -rf /var/lib/apt/lists/*
EXPOSE 5081 49152-65534
VOLUME /data
ENTRYPOINT ["java","-jar","/joal/joal.jar"]
CMD ["--joal-conf=/data"]