mirror of
https://gitee.com/dcren/initializr.git
synced 2025-04-05 17:38:06 +08:00
8 lines
165 B
Docker
8 lines
165 B
Docker
FROM ubuntu:jammy-20230624
|
|
|
|
ADD setup.sh /setup.sh
|
|
ADD get-jdk-url.sh /get-jdk-url.sh
|
|
RUN ./setup.sh java17
|
|
|
|
ENV JAVA_HOME /opt/openjdk
|
|
ENV PATH $JAVA_HOME/bin:$PATH |