mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
12 lines
280 B
Docker
12 lines
280 B
Docker
FROM ubuntu:bionic-20181018
|
|
|
|
ADD setup.sh /setup.sh
|
|
ADD get-jdk-url.sh /get-jdk-url.sh
|
|
RUN ./setup.sh java8
|
|
|
|
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" ]
|