mirror of
https://github.com/anthonyraymond/joal.git
synced 2024-11-10 17:12:36 +08:00
21 lines
632 B
Text
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"]
|