2022-02-10 09:58:46 +08:00
|
|
|
FROM ioiox/alpine:3.15-openjdk-8-headless
|
2022-02-01 22:01:09 +08:00
|
|
|
LABEL maintainer="Stille <stille@ioiox.com>"
|
2021-06-11 12:13:08 +08:00
|
|
|
|
2022-04-02 22:11:06 +08:00
|
|
|
ENV VERSION 3.2.2
|
2021-06-11 12:13:08 +08:00
|
|
|
|
|
|
|
WORKDIR /root
|
|
|
|
|
|
|
|
RUN wget https://github.com/zhaojun1998/zfile/releases/download/${VERSION}/zfile-${VERSION}.war \
|
|
|
|
&& mkdir zfile && unzip zfile-${VERSION}.war -d zfile && rm -rf zfile-${VERSION}.war \
|
|
|
|
&& chmod +x ~/zfile/bin/*.sh
|
|
|
|
|
|
|
|
EXPOSE 8080
|
|
|
|
|
|
|
|
CMD sh ./zfile/bin/start.sh && tail -f /dev/null
|