mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
13 lines
321 B
Docker
13 lines
321 B
Docker
FROM ubuntu:focal-20210723
|
|
|
|
ADD setup.sh /setup.sh
|
|
ADD get-jdk-url.sh /get-jdk-url.sh
|
|
ADD get-docker-url.sh /get-docker-url.sh
|
|
RUN ./setup.sh java11
|
|
|
|
ENV JAVA_HOME /opt/openjdk
|
|
ENV PATH $JAVA_HOME/bin:$PATH
|
|
ADD docker-lib.sh /docker-lib.sh
|
|
|
|
ENTRYPOINT [ "switch", "shell=/bin/bash", "--", "codep", "/bin/docker daemon" ]
|