java-1.8-openjdk镜像dockerfile
FROM alpine:3.16 MAINTAINER docker-build ENV.UTF-8 \ JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk \ PATH=$PATH:/usr/lib/jvm/java-1.8-openjdk/jre/bin RUN apk add --no-cache openjdk8 && rm -f /etc/apk/repositories
java-1.8-openjdk镜像dockerfile
FROM alpine:3.16 MAINTAINER docker-build ENV.UTF-8 \ JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk \ PATH=$PATH:/usr/lib/jvm/java-1.8-openjdk/jre/bin RUN apk add --no-cache openjdk8 && rm -f /etc/apk/repositories
请登录之后再进行评论