Skip to content

Commit 6154daa

Browse files
committed
update base image for zfile
1 parent 4ab1fb5 commit 6154daa

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

registry-proxy/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# mc
1+
# registry-proxy
22

33
GitHub [stilleshan/dockerfiles](https://github.com/stilleshan/dockerfiles)
44
Docker [stilleshan/registry-proxy](https://hub.docker.com/r/stilleshan/registry-proxy)

zfile/Dockerfile

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
FROM ioiox/alpine:3.15-openjdk-8-headless
1+
FROM ibm-semeru-runtimes:open-8-jre
22
LABEL maintainer="Stille <[email protected]>"
33

44
ENV VERSION 3.2.5
55

66
WORKDIR /root
77

8-
RUN wget https://github.com/zhaojun1998/zfile/releases/download/${VERSION}/zfile-${VERSION}.war \
9-
&& mkdir zfile && unzip zfile-${VERSION}.war -d zfile && rm -rf zfile-${VERSION}.war \
10-
&& chmod +x ~/zfile/bin/*.sh
8+
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
9+
RUN echo 'Asia/Shanghai' >/etc/timezone
10+
RUN curl -L -o app.jar https://github.com/zhaojun1998/zfile/releases/download/${VERSION}/zfile-${VERSION}.jar
1111

1212
EXPOSE 8080
1313

14-
CMD sh ./zfile/bin/start.sh && tail -f /dev/null
14+
ENTRYPOINT java $JAVA_OPTS -Xshareclasses -Xquickstart -jar /root/app.jar

0 commit comments

Comments
 (0)