Skip to content

Commit

Permalink
🎨 update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mobaijun committed Nov 15, 2024
1 parent 3284e3a commit 2116eb1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jre11/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ RUN apk add --no-cache tzdata \

# 删除不必要的文件以减小镜像体积
RUN rm -rf /var/cache/apk/* /usr/lib/lib*.a /usr/share/man \
&& find /usr/lib/jvm -name "*.zip" -exec rm -f {} \; \
&& find /usr/lib/jvm -name "src.zip" -exec rm -f {} \;
&& find /opt/java/openjdk -name "*.zip" -exec rm -f {} \; \
&& find /opt/java/openjdk -name "src.zip" -exec rm -f {} \;

0 comments on commit 2116eb1

Please sign in to comment.