mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
13 lines
343 B
Docker
13 lines
343 B
Docker
ARG DOCKER_PROXY_CACHE=
|
|
FROM ${DOCKER_PROXY_CACHE}ubuntu:jammy-20240111
|
|
|
|
ADD setup.sh /setup.sh
|
|
ADD get-jdk-url.sh /get-jdk-url.sh
|
|
ADD get-docker-url.sh /get-docker-url.sh
|
|
ADD get-docker-compose-url.sh /get-docker-compose-url.sh
|
|
RUN ./setup.sh java17
|
|
|
|
ENV JAVA_HOME /opt/openjdk
|
|
ENV PATH $JAVA_HOME/bin:$PATH
|
|
ADD docker-lib.sh /docker-lib.sh
|