update base image for zfile
This commit is contained in:
parent
4ab1fb5e93
commit
6154daa982
|
@ -1,4 +1,4 @@
|
|||
# mc
|
||||
# registry-proxy
|
||||
|
||||
GitHub [stilleshan/dockerfiles](https://github.com/stilleshan/dockerfiles)
|
||||
Docker [stilleshan/registry-proxy](https://hub.docker.com/r/stilleshan/registry-proxy)
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
FROM ioiox/alpine:3.15-openjdk-8-headless
|
||||
FROM ibm-semeru-runtimes:open-8-jre
|
||||
LABEL maintainer="Stille <stille@ioiox.com>"
|
||||
|
||||
ENV VERSION 3.2.5
|
||||
|
||||
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
|
||||
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
|
||||
RUN echo 'Asia/Shanghai' >/etc/timezone
|
||||
RUN curl -L -o app.jar https://github.com/zhaojun1998/zfile/releases/download/${VERSION}/zfile-${VERSION}.jar
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
CMD sh ./zfile/bin/start.sh && tail -f /dev/null
|
||||
ENTRYPOINT java $JAVA_OPTS -Xshareclasses -Xquickstart -jar /root/app.jar
|
||||
|
|
Loading…
Reference in New Issue